* On 07 Apr 2016, Christian Brabandt wrote: 
> 
> According to Sven Maschecks website 
> http://www.in-ulm.de/~mascheck/various/bourne_args/
> 
> ,----
> | These shells behave the old way and need ${1+"$@"}:
> | 
> | Certainly: /bin/sh on 7th edition (aka Version 7). And thus also /bin/sh on 
> original BSDs, until these shipped the Almquist shell (after 4.3BSD-Reno)
> | HP-UX 8, 9 /bin/sh, HP-UX 10.x, 11.x /usr/old/bin/sh (as /bin/sh has become 
> a ksh)
> | OSF1/V4 and V5 aka Tru64 /bin/sh
> | Ultrix /bin/sh and /bin/sh5
> | Sinix 5.20 /bin/sh in both the "ucb" and the "sie" universe 
> `----

Thanks, that must be it. Not Solaris and IRIX, but HP-UX and OSF/1.
BTW OSF/1 refers to v1-v3. v3.2-v4 are Digital Unix or, later (v4.0F),
Tru64.


> so basically, not relevant anymore.

Some people still have to support some of those, believe it or not.


Related:
        if [ x = "x$1" ] ...

-- 
David Champion • d...@bikeshed.us

Reply via email to