Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!wuarchive!usc!apple!fox!portal!cup.portal.com!Drool From: Drool@cup.portal.com (Paul James Coene) Newsgroups: comp.sys.amiga Subject: Shell302a Message-ID: <24990@cup.portal.com> Date: 14 Dec 89 01:39:46 GMT References: <998@milton.acs.washington.edu> Organization: The Portal System (TM) Lines: 67 shell302a users: I am using shell302a and am getting little response from the two folks in Italy when I direct questions there. I wonder if anyone could help with a problem I am having... I have immense problems piping one shell script into a second script which uses pipes internally. Consider the following shell302a scripts: ----snip----snip----snip----snip----snip----snip----snip----snip----snip scripta: echo bob stanley echo rich walton echo goose gossage echo bob allen scriptb: cat >ram:bah forline i ram:bah "echo $i | input a;echo $a" ----snip----snip----snip----snip----snip----snip----snip----snip----snip Before I explain, bear in mind these accomplish nothing in particular, besides illustrate a problem (in my mind) in shell302a. Running scripta produces the list of names, as one would expect. Redirecting a text file into scriptb via "scriptb |----------------------------------| | There's so many different worlds | | There's so many different suns | | And we have just one world, | | But we live in different ones. | | | | - Dire Straits | |----------------------------------| Only IBM makes it Impossible ;) UUCP: kodak!bisco!retreat!drool ARPA: drool@cup.portal.com