Bug report for /bin/sh5 under ultrix 4.0

Chet Ramey chet at cwns1.CWRU.EDU
Tue Oct 2 01:45:03 AEST 1990


In article <4052 at umbc3.UMBC.EDU> rouben at math9.math.umbc.edu () writes:
>The following short script produces incorrect results under ultrix 4.0:

It will produce incorrect results for any system whose Bourne shell is
derived from the one shipped with System V release 2.  This includes at
least the HP-UX /bin/sh, Ultrix /bin/sh5, and the SunOS 3.x /bin/sh.  These
shells keep only a single global list in which to store the positional
parameters, and function invocations overwrite this global list. 

The System V.3 /bin/sh has this fixed.  (So does bash, for that matter. :-)

Chet
-- 
Chet Ramey				``Levi Stubbs' tears run down
Network Services Group			  his face...''
Case Western Reserve University	
chet at ins.CWRU.Edu		



More information about the Comp.unix.questions mailing list