The bash read-command seems to be well and truly broken,
also in tcsh and pdksh for that matter. However, in zsh it
seems to be working.
An easy test is as follows:
echo "thank goodness its friday" | read a b; echo "a=$a, b=$b"
According to documentation (and all other read's I've come across), the result
should be:
a=thank, b=goodness its friday
However, what comes out is:
a=, b=
I have checked back to Redhat 5.2 - and it was still broken.
Also have downloaded and compiled the newest version from GNU -
it's still broken!!
Sincerely,
Per Borg-Hansen
Petroleum Geo-Services US Inc