42-archive/42sh/sample/test.sh

6 lines
78 B
Bash

test=10
while [ $test -gt 1 ]
do
echo hello
((test--))
done > file1 > file2