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

3 lines
66 B
Bash
Raw Permalink Normal View History

2015-11-18 06:14:39 +00:00
width=72; char='='
head -c ${width} < /dev/zero | tr '\0' "$char"