> Ghee Teo <[email protected]> wrote:
>
>> solarg wrote:
>> > hello all,
>> > i'm surprised that gnu chmod is installed, what are the advantages
>> > comparing to solaris chmod?
>> >
>> Check your $PATH, the default path should include /usr/gnu/bin before
>> /usr/bin.
>
> It makes sense the other way round ;-)
>
> GNU tools do not include platform specific features. This makes them a
> problem
> on many platforms - even on Linux. Solaris (still) has a native userland,
> so
> there is no problem on Solaris. As Linux has no native userland, many
> features
> in the Linux kernel cannot be used with the only userland available for
> Linux
> ;-)
>
>
> Jörg
>

I feel that the default PATH on any Solaris machine from Solaris 8 upwards
*must* be :

PATH=/usr/xpg4/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin

Note the xpg4 bits there first.  The standards(5) man page tells us that
those tools can be relied upon, to be consistent and precise all the way
back to Solaris 2.4 :

  Specification    Description                         Release

  XPG4             superset     of     POSIX.1-1990,   Solaris 2.4
                   POSIX.2-1992,  and  POSIX.2a-1992
                   containing  extensions  to  POSIX
                   standards from XPG3

If someone wants ls to output colors ( colours in Canada and other
civilized nations ) then by all means allow the *user* to edit their
.profile or .bashrc to their hearts content.

Some strange new ever-changing GNU userland as the default seems very
Linux-land to me. Not UNIX(tm).

Just my $ 0.017 USD

Dennis

ps: all my scripts say #!/bin/ksh at the top but I use tools from
/usr/xpg4 to get the job done.

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to