- #1
zeion
- 466
- 1
Hi,
So I can read from a file by doing:
while read line; do
...
done<$fileame
Is it possible to change to reading from stdin instead of that file by changing the $filename variable instead of writing a new loop without a done< argument?
Thanks.
So I can read from a file by doing:
while read line; do
...
done<$fileame
Is it possible to change to reading from stdin instead of that file by changing the $filename variable instead of writing a new loop without a done< argument?
Thanks.