With man
, you can always give an absolute path to a manual page. For the built-in BSD utilities, this will be something like:
man /usr/local/share/man/man1/tar.1
Now, this isn't particularly convenient, since you have to know the exact path to the page. For GNU utilities with the same name as built-in BSD utilities, you can note that brew
installs manual pages in /usr/local/share/man
with prefixes:
# For brew's GNU tar:
man gtar
# For the built-in BSD tar:
MANPATH= man tar
The MANPATH=
part is to reset any changes that may have been made per suggestions by brew
to ensure that its pages are seen first.
gtar
. No idea if brew does this or can be made to do it. – Random832 Jul 15 '16 at 02:13