Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666
At the # prompt, if I type:
# <filename cat
it takes filename and pipes it as input into cat.
then, why, when I type:
# <filename while read ln; do echo $ln; done
do I get...
bash: syntax error near unexpected token `do'
So I try putting do on a separate line:
# <filename while read ln
bash: while: command not found.
hmm...I thought 'while was a builtin? why can't bash find it?