Shell history

Joseph S. D. Yao jsdy at hadron.UUCP
Tue Mar 25 16:44:51 AEST 1986


In article <14797 at onfcanim.UUCP> dave at onfcanim.UUCP (Dave Martindale) writes:
>But nobody has mentioned what I considered the biggest incentive to change
>over.  In the old, v6 shell, the standard input of any commands that were
>invoked from a shell script was the shell script itself.  ...
>... it meant that you could *not* write shell scripts that were to be
>used as filters, even if their execute bit was set, since the standard input
>of the shell at the time it was forked was no longer available.

The Mashey shell under PWB 1.0 ("System I"), at least the version that
I and many others used, had the construct "< --" to allow one to read
the shell's original stdin.  This was very useful, for all the reasons
Dave mentions.  However, the Bourne mechanism seems better.
-- 

	Joe Yao		hadron!jsdy at seismo.{CSS.GOV,ARPA,UUCP}



More information about the Comp.unix.wizards mailing list