> prompt> echo "This is a test" | read bar
> prompt> echo $bar
>
> prompt>bash --version
> GNU bash, version 2.05b.0(1)-release
> (powerpc-apple-darwin7.0)
> Copyright (C) 2002 Free Software Foundation, Inc.
>
> bar is not getting set. read only seems to work from
> a tty. Since
> Macs /bin/sh is actually bash it breaks some of my
> shell scripts.
Please read the Bash FAQ, question E4.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/