Bug report for /bin/sh5 under ultrix 4.0

Doug Gwyn gwyn at smoke.BRL.MIL
Mon Oct 1 17:19:54 AEST 1990


In article <4052 at umbc3.UMBC.EDU> rouben at math9.math.umbc.edu () writes:
>An unintended side-effect of the execution of the function dummy is that
>it clears the shell variable $1 and $2.

Early versions of the Bourne shell with support for shell functions, for
example UNIX System V Release 2, also do this.  I don't know whether or
not this has been officially "fixed" in later versions of the Bourne
shell.  Some Bourne-compatible shells do seem to have it fixed.



More information about the Comp.unix.questions mailing list