SLUG Mailing List Archives
Re: [SLUG] How do'ya do it?
- 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
> echo $i;
Note that you can save the cat by doing this:
while read i
done < filename
I just find it less clear. :-)
"Everyone says they like Free Software - not everyone is ready to make
the tough choices to make it happen." - Maciej Stachowiak