Richard Truitt Pickler <rtp9709@ksu.edu> wrote:
> Any way I try and set IFS to a <newline> it crashes bash.
...
> IFS='\n'
This shouldn't work. (But it also shouln't crash bash.) This should
work:
IFS='
'
or this, if your bash is new enough:
IFS=$'\n'
But maybe you want this instead:
while read line; do
echo "$line"
done < file
paul