prompt> read foo
This is a test
prompt> echo $foo
This is a test
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.
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/