langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
3
Task/Loops-While/UnixPipes/loops-while.unixpipes
Normal file
3
Task/Loops-While/UnixPipes/loops-while.unixpipes
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(echo 1024>p.res;tail -f p.res) | while read a ; do
|
||||
test $a -gt 0 && (expr $a / 2 >> p.res ; echo $a) || exit 0
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue