The xpg4 man page specifies this behaviour explicitly, so it's a
published interface.
Utilities
If the behavior required by POSIX.2, POSIX.2a, XPG4, SUS, or
SUSv2 conflicts with historical Solaris utility behavior, the
original Solaris version of the utility is unchanged; a new ver-
sion that is standard-conforming has been provided in
/usr/xpg4/bin. For applications wishing to take advantage of
POSIX.2, POSIX.2a, XPG4, SUS, or SUSv2 features, the PATH (sh or
ksh) or path (csh) environment variables should be set with
/usr/xpg4/bin preceding any other directories in which utilities
specified by those specifications are found, such as /bin,
/usr/bin, /usr/ucb, and /usr/ccs/bin.
bugzilla-daemon at np.grommit.com wrote:
> http://bugs.grommit.com/show_bug.cgi?id=484
>
>
>
>
>
> ------- Comment #4 from bill.shannon at sun.com 2008-04-23 17:52 PDT -------
> Um, I can't tell from the comments whether or not you agree that this is a bug
> that needs to be fixed.
>
> Anyway, "doesn't work properly" means that "echo -n foo" echoes "-n foo".
>
>