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

3 lines
28 B
Bash
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
i=5
printf "ha"%.0s {1..$i}