[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Somewhat off-topic, but hard to find better portability people.
From: |
Peter Seebach |
Subject: |
Re: Somewhat off-topic, but hard to find better portability people. |
Date: |
Thu, 18 Sep 2008 13:32:24 -0500 |
In message <address@hidden>, "James
Youngman" writes:
>On Wed, Sep 17, 2008 at 5:12 AM, Peter Seebach <address@hidden> wrote:
>
>> set -- args
>
>Hmm, I certainly have a habit of doing this instead:
>
>set x blablablablabla
>shift
>
>However, the only source file I can find that still does this was
>written in 2002. My guess is that I have used a system where this
>didn't work, but not for a long time. If I had to guess at a system
>that might have a problem with the -- form, it would be either an old
>Sun box (which you already indicated you would not be interested in)
>or perhaps Sequent DYNIX/ptx 4.x. While DYNIX/ptx 4.x did get y2k
>patches, I still don't think it is a worthwhile porting target so I'd
>not recommend trying to bother verifying the allegation I just made
>anyway...
The one thing I found is that SVR4 shell doesn't clear $* on 'set --'. It
does reset it completely on 'set -- foo'. So I documented that.
-s
Re: Somewhat off-topic, but hard to find better portability people., James Youngman, 2008/09/18
- Re: Somewhat off-topic, but hard to find better portability people.,
Peter Seebach <=