From: qpliu@phoenix.Princeton.EDU (q.p.liu) Subject: Re: The dangers of playing with shared libraries Date: Wed, 14 Apr 1993 19:02:47 GMT
In article <1993Apr14.095640.28923@nessie.mcc.ac.uk> LeBlanc@mcc.ac.uk writes:
>In article <1993Apr13.025258.16555@Princeton.EDU> qpliu@princeton.edu writes:
>>while read x; do echo "$x"; done < file
>> (doesn't work correctly with bash, but does with pdksh)
>I tried this with bash and had no problems. I am using bash-1.12 compiled
>with libc-4.3.3 and gcc-2.3.3.
I suppose I should have thought to use:
(IFS=; while read x; do echo "$x";done <file)
which works correctly.
Followups to comp.unix.shell.
-- qpliu@princeton.edu Standard opinion: Opinions are delta-correlated.