User Tools

Site Tools


linux:bash_output_x_chars
#!/bin/bash
 
#
# Function output 50 caracters
#
line (){ for i in {1..50}; do echo -n "$1"; done && printf "\n"; }
#
# Execute function draw 50 hyphens
#
line '-'
linux/bash_output_x_chars.txt · Last modified: 12/01/2024 15:00 by Allan