SCCS-vsn: old/whereis/whereis.c 5.4
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)whereis.c 5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)whereis.c 5.4 (Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
#include <ctype.h>
static char *bindirs[] = {
#include <ctype.h>
static char *bindirs[] = {
+ "/bin",
+ "/sbin",
+ "/usr/ucb",
+ "/usr/bin",
+ "/usr/sbin",
+ "/usr/old",
+ "/usr/contrib",
+ "/usr/games",
+ "/usr/local",
+ "/usr/libexec",
+ "/usr/include",
+ "/usr/hosts",
+ "/usr/share", /*?*/
+ "/etc",
+#ifdef notdef
+ /* before reorg */
"/etc",
"/bin",
"/usr/bin",
"/etc",
"/bin",
"/usr/bin",
"/usr/old",
"/usr/hosts",
"/usr/include",
"/usr/old",
"/usr/hosts",
"/usr/include",
+/* This needs to be redone - man pages live with sources */
static char *mandirs[] = {
"/usr/man/man1",
"/usr/man/man2",
static char *mandirs[] = {
"/usr/man/man1",
"/usr/man/man2",
0
};
static char *srcdirs[] = {
0
};
static char *srcdirs[] = {
+ "/usr/src/bin",
+ "/usr/src/sbin",
+ "/usr/src/etc",
+ "/usr/src/pgrm",
+ "/usr/src/usr.bin",
+ "/usr/src/usr.sbin",
+ "/usr/src/usr.ucb",
+ "/usr/src/usr.new",
+ "/usr/src/usr.lib",
+ "/usr/src/libexec",
+ "/usr/src/libdata",
+ "/usr/src/share",
+ "/usr/src/contrib",
+ "/usr/src/athena",
+ "/usr/src/devel",
+ "/usr/src/games",
+ "/usr/src/local",
+ "/usr/src/man",
+ "/usr/src/root",
+ "/usr/src/old",
+ "/usr/src/include",
+ /* still need libs */
+#ifdef notdef /* before reorg */
"/usr/src/bin",
"/usr/src/usr.bin",
"/usr/src/etc",
"/usr/src/bin",
"/usr/src/usr.bin",
"/usr/src/etc",
"/usr/src/ucb/pascal",
"/usr/src/ucb/pascal/utilities",
"/usr/src/undoc",
"/usr/src/ucb/pascal",
"/usr/src/ucb/pascal/utilities",
"/usr/src/undoc",