RosettaCodeData/Task/Repeat-a-string/UNIX-Shell/repeat-a-string-5.sh

3 lines
42 B
Bash

len=12; str='='
repeat $len printf "$str"