Both sets of commands are there - if you created a new user without
a .profile/.cshrc/etc. on OpenSolaris, then /usr/gnu/bin is first in
the $PATH, and "diff" without a path runs /usr/gnu/bin/diff, so the
default MANPATH matches. If you customize your PATH, you should
either set MANPATH to match, or unset MANPATH to let man's builtin
PATH->MANPATH transformation handle it.
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
Richard Friedman wrote:
> Yikes! You mean BOTH sets of man pages are in OS ?
> So are the gnu utilities also installed somewhere and I can choose
> between the two?
>
> Why are the gnu man pages ahead of the Solaris man pages by default?
> Isn't this confusing? Any hopes to change it?
>
> <R>
>
> Alan Coopersmith wrote:
>> Make sure your MANPATH is set with /usr/share/man before /usr/gnu/man.
>> The default 2008.11 MANPATH matches the default 2008.11 PATH of having
>> the GNU utilties first.
>>
>> -Alan Coopersmith- alan.coopersmith at sun.com
>> Sun Microsystems, Inc. - X Window System Engineering
>>
>> Richard Friedman wrote:
>>
>>> Looks like the diff man page is not describing the right version of diff in
>>> /usr/bin and /bin, on 2008.11.
>>> In particular, the man page mentions -y, but diff complains if you try to
>>> use it. The summary output by diff also doesn't look like what's described
>>> in the man page.
>>>
>>> I submitted a bug report on this,
>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=5584
>>>
>>> I wonder if there are others like this?
>>>
>>> And, how did it happen?
>>>
>>> Interestingly, the diff man page on my Solaris 10 SPARC box describes the
>>> diff in OS 2008.11 (no -y).
>>>
>>
>>