[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
read-command
From: |
-pbh- |
Subject: |
read-command |
Date: |
Wed, 11 Jul 2001 10:38:52 -0500 |
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