[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
read only works from a tty
From: |
Robert Minsk |
Subject: |
read only works from a tty |
Date: |
Tue, 2 Dec 2003 14:09:08 -0800 (PST) |
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/
- read only works from a tty,
Robert Minsk <=