On Tue, Mar 2, 2010 at 7:02 AM, Garrett D'Amore <gdam...@sun.com> wrote:
> With the other non-standard changes being made to the default environment, I
> wonder if it is time to finally bite the bullet and merge some of the XPG4
> and Sun commands -- some of the differences exist for some rather silly
> (IMO) semantic differences that portable code should not rely on.
>
> For example, rm differs in some very subtle ways about conflicts of -f and
> -i options, and handling of non-readable/writable directories.
>
> chown differs in the way symbolic links are followed in the presence of the
> -r flag.
>
> XPG4 awk is really just nawk.
>
> XPG4 grep has more flexible regular expression support (see -E and -F)
>
> who has slightly different default output for POSIX.
>
> XPG4 du is noisy by default on unreadable directories, and uses a space
> instead of a tab.
>
> I'm sure there are some others like this.
>
> I'm just thinking, isn't it time we just bit the bullet and told our users
> to start using the POSIX defaults, instead of continuing to supply the
> legacy compatibility stuff forever.
>
> It would save a little space, and maybe we could get rid of /usr/xpg4/bin ?

Please merge /usr/xpg6/bin and /usr/xpg4/bin into /usr/bin, not only
/usr/xpg4/bin
You should talk to Olga Kryzhonovska, Roland Mainz and the POSIX
community, AFAIK they already have plans and patches for this or
already moved the code into ON (disabled by default).

Irek
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to