Email List: Xaustin-group-lX
[All Lists]

Re: Re: execlp() and binary files (was: Austin Group Status February 20

To: Garrett Wollman <yyyyyyy@xxxxxxxxxxxxx>
Subject: Re: Re: execlp() and binary files (was: Austin Group Status February 2006)
From: Larry Dwyer <yyyyyyyyyyy@xxxxxx>
Date: Tue, 07 Mar 2006 00:35:06 -0800
Cc: yyyyyyyyyyyyyy@xxxxxxxxxxxxx
References: <5.1.0.14.0.20060306160828.025feec8@tsx1.cup.hp.com><20060306194108.GC8937@xxxxxx><200603061652.LAA33721@xxxxxx><5.1.0.14.0.20060306160828.025feec8@tsx1.cup.hp.com>
At 06:15 PM 3/6/2006, Garrett Wollman wrote:
<<On Mon, 06 Mar 2006 16:27:19 -0800, Larry Dwyer <yyyyyyyyyyy@xxxxxx> said:

> . . . And for years we have been hearing from customers:

>          Solaris has its UNIX commands in /usr/bin/xpg4, how come HP-UX
>          doesn't have its UNIX commands in /usr/bin/xpg4?

In other words:

        "I got this executable from a Solaris system, how come HP-UX
        can't execute it?"

I don't see the problem here.  Clearly, your customers have an
erroneous expectation of binary portability; that's not a problem for
POSIX to solve.
You missed my point. The "#! /x/y/z" convention only works if all systems have the same file layout. Since some systems put "z" in /x/y and others put it in /a/b, there is no portable script that can utilized the "#!" convention.

David Korn pointed this out and I am reinforcing his assertion with my observation that the file layout difference is a common customer complaint.

Cheers,
Larry


end
reply-id: wf2dkwirn4nwifn834dt7zyrqpmfdyyxdrhnwowe


<Prev in Thread] Current Thread [Next in Thread>