Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!ginosko!uunet!mcsun!unido!pcsbst!me From: me@dude.pcs.com (Michael Elbel) Newsgroups: gnu.bash.bug Subject: weird bash behavior Message-ID: Date: 1 Sep 89 13:41:12 GMT Sender: news@pcsbst.UUCP Distribution: gnu Organization: PCS GmbH, Pfaelzer-Wald-Str. 36, 8000 Muenchen 90; West-Germany Lines: 47 I have two problems with bash, maybe they are not local to our systems here 1. Try the following thing: foo() { read zoom read boom < /dev/tty echo $zoom $boom } As long as you run it without input redirection, everything is fine. But if you do something like cat >/tmp/bar frob net ^D giving you a two line file and feed that into 'foo' foo -- Michael Elbel, PCS Computer Systeme, Muenchen (me@dude.PCS.COM for the World), (me@dude.PCS.DE for Europe)