When testing some old scripts with the new ksh version, I noticed that the 
following code terminates before reaching the last statement:

echo "a
b
c"| while read F; do
        echo $F
done
echo "finished"

The output is
a
b
c

The following works as expected:
while read F; do
     echo $F
done<infile

I suppose something's wrong with the pipe operator?



___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users

Reply via email to