Horinius <[EMAIL PROTECTED]> wrote:
> Paul Jarc wrote:
>> Read entry E4 in the bash FAQ:
>> http://tiswww.case.edu/php/chet/bash/FAQ
>
> I've read several times that section but I'm not sure how to use the IFS.

IFS is only useful if you're splitting the fields of the line into
separate variables.  The examples in the FAQ are also only useful for
reading a single line.

If you're reading from a regular file, you can just eliminate the
useless use of cat:
while read line; do ...; done < test.txt


paul


Reply via email to