[531] in Athena Bugs
whereis, all versions
daemon@ATHENA.MIT.EDU (qjb@ATHENA.MIT.EDU)
Mon Jul 18 18:21:14 1988
From: <qjb@ATHENA.MIT.EDU>
Date: Mon, 18 Jul 88 18:20:44 EDT
To: bugs@ATHENA.MIT.EDU
The manual page for whereis claims that it "locates source/binary and
manual sections for specified files." Looking at the source makes
it clear that it does this by searching a hard-coded list of
directories, of which all of the source directories and many of the
binary directories are out of date. It would be much better if
whereis would search your $path and $MANTPATH rather than a
hard coded list. As it is now, the program is almost completely
useless, especially with the new where shell builtin.