- To: Mail List - SLUG <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] How do'ya do it?
- From: Jeff Waugh <jdub@xxxxxxxxxxxxxx>
- Date: Fri Sep 13 17:24:02 2002
- User-agent: Mutt/1.4i
<quote who="Jeff Waugh">
> cat filename | while read i
> do
> echo $i;
> done
Note that you can save the cat by doing this:
while read i
do
echo $i;
done < filename
I just find it less clear. :-)
- Jeff
--
"Everyone says they like Free Software - not everyone is ready to make
the tough choices to make it happen." - Maciej Stachowiak