[3223] in testers

home help back first fref pref prev next nref lref last post

sparc 8.1.4: whereis

daemon@ATHENA.MIT.EDU (John Hawkinson)
Thu Jun 12 22:20:59 1997

Date: Thu, 12 Jun 1997 22:20:51 -0400
To: testers@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>


/os/usr/share/man/man1b/whereis.1m (the whereis manpage)
specifies that whereis searches the following locations:

[bart-savagewood!jhawk] /usr/share/man/man1b> sed -n '/ft 3/,/ft 1/p' whereis.1b | grep -v '^\.' | sort -u
/usr/5bin
/usr/bin
/usr/etc
/usr/games
/usr/hosts
/usr/include
/usr/lib
/usr/local
/usr/share/man
/usr/src
/usr/ucb

whereis(1b) very clearly searches other locations, however:

[bart-savagewood!jhawk] ~> /usr/ucb/whereis make
make: /usr/ccs/bin/make /usr/man/man1s/make.1s

The definitive list would appear to be:

[bart-savagewood!jhawk] ~> /usr/ucb/whereis . | sed -e 's/^.: //g' -e 's/:/_colon_/g' -e 's/\.\. /:/g' -e 's/\. /:/g' | tr : '\012' | sed 's;/$;;' | sort -u
/etc
/sbin
/usr/bin
/usr/ccs/bin
/usr/ccs/lib
/usr/games
/usr/include
/usr/lib
/usr/local
/usr/local/bin
/usr/man/man1
/usr/man/man1b
/usr/man/man1c
/usr/man/man1f
/usr/man/man1m
/usr/man/man1s
/usr/man/man2
/usr/man/man3
/usr/man/man3b
/usr/man/man3c
/usr/man/man3e
/usr/man/man3g
/usr/man/man3k
/usr/man/man3m
/usr/man/man3n
/usr/man/man3s
/usr/man/man3x
/usr/man/man4
/usr/man/man4b
/usr/man/man5
/usr/man/man6
/usr/man/man7
/usr/man/man9e
/usr/man/man9f
/usr/man/man9s
/usr/man/manl
/usr/man/mann
/usr/man/mann/..
/usr/old
/usr/sbin
/usr/src/uts
/usr/src/uts/sun4c
/usr/ucb
/usr/ucbinclude
/usr/ucblib

Sure looks like a Solaris doc bug to me...

--jhawk

home help back first fref pref prev next nref lref last post