Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!rice!rice!sun-spots-request From: chet@po.cwru.edu Newsgroups: comp.sys.sun Subject: Re: Bourne Shell Function positional parameter space Keywords: SunOS Message-ID: <1990Oct31.235623.22436@rice.edu> Date: 1 Nov 90 00:07:33 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 352, message 4 X-Original-Date: Thu, 11 Oct 90 00:10:31 GMT X-Refs: Original: v9n331 In article <1990Oct7.223601.28031@rice.edu> chris@manic.communica.oz (Chris Clarkson) writes: >Under SunOS 3.X (and most Sys V and BSD Unix I have worked on) Bourne >shell functions shared their positional paramater space with the main >shell. Under SunOS 4.X this no longer seems to be the case. Is this true >or is some other mechanism at play ? This is the result of the change from an s5r2-based /bin/sh in SunOS 3.x to an s5r3-based /bin/sh in SunOS 4.x. The s5r3 sh no longer has a single global space for the positional parameters. Chet Ramey ``As I recall, Doug was keen on boxing. But Network Services Group when he learned to walk, he took up puttin' Case Western Reserve University the boot in the groin.'' chet@ins.CWRU.Edu