"John Smith" <[EMAIL PROTECTED]> writes:
> But I guess that you would consider that a bug in ksh ?
POSIX allows both behaviours.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B
John Smith wrote:
> Ok, so maybe I should have just 'read the manual'
> ;)
>
> But it still confuses me somewhat, since AT&T's kornshell behaves
> differently.. I just downloaded the latest available version for Linux
> from the url mentioned below, and it does work in AT&T's ksh as I
> expected..
Ok, so maybe I should have just 'read the manual'
;)
But it still confuses me somewhat, since AT&T's kornshell behaves
differently.. I just downloaded the latest available version for Linux
from the url mentioned below, and it does work in AT&T's ksh as I
expected...
http://www.research.att.com/
"John Smith" <[EMAIL PROTECTED]> wrote:
> echo foo | read VAR
> echo $VAR
See entry E4 in the bash FAQ:
http://tiswww.case.edu/php/chet/bash/FAQ
paul
Hi,
I was running into some unexpected behavior with bash and reading from
a pipeline, and am starting to wonder if im running into a bug or
whether im just doing something wrong.
For example, if I type the following :
echo foo | read VAR
echo $VAR
I would expect the the variable named VAR to