Xref: utzoo comp.unix.ultrix:4725 comp.unix.questions:25887 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!uunet!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.ultrix,comp.unix.questions Subject: Re: Bug report for /bin/sh5 under ultrix 4.0 Message-ID: <13986@smoke.BRL.MIL> Date: 1 Oct 90 07:19:54 GMT References: <4052@umbc3.UMBC.EDU> Followup-To: comp.unix.ultrix Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 8 In article <4052@umbc3.UMBC.EDU> rouben@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.