bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: Richard Truitt Pickler
Subject: (no subject)
Date: Thu, 6 Sep 2001 11:08:28 -0500 (CDT)

This is really wierd, but I think I found a bug in bash.  Any way I try
and set IFS to a <newline> it crashes bash.  I'm simply trying to iterate
for each line in a file, so if there's a better way, let me know.
Nevertheless, this is really strange to me.

#for each line
IFS='\n'
for i in $1; do
    echo $i
done


Rich




reply via email to

[Prev in Thread] Current Thread [Next in Thread]