blob: 4b3a639c12ffb8f2cd5bee1e997b1d83abc24d99 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
# The printf builtin formatting 20000 lines into a file.
i=0
: >out
while [ $i -lt 40000 ]; do
printf '%s %05d %s\n' "row" "$i" "x" >>out
i=$((i + 1))
done
wc -l <out
|