This website requires JavaScript.
Explore
Help
Sign In
d
/
freebsd-nq
Watch
1
Star
0
Fork
0
You've already forked freebsd-nq
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
f42f7c54c8
freebsd-nq
/
usr.bin
/
whereis
/
Makefile
9 lines
92 B
Makefile
Raw
Normal View
History
Unescape
Escape
MAN[1-9] -> MAN.
2001-03-27 10:52:19 +00:00
# $FreeBSD$
Switch to c version Approved by: sheldonh (mentor)
2002-07-03 19:22:52 +00:00
PROG
=
whereis
MAN[1-9] -> MAN.
2001-03-27 10:52:19 +00:00
MAN
=
whereis.1
Complete rewrite, once again. This is basically a ``C compilation'' of the former whereis.pl file, employing the same algorithms, and aiming at being mostly UI-compatible to the old (legally tainted) 4.3BSD whereis(1). In comparision, the 4.4BSD-Lite version is just another variant of which(1) only, where in particular the option to search for source directories is sorely missing. While i was at it, i added two more options which i contemplated doing long since. -x will suppress the run of locate(1) to find sources that could not be found otherwise, potentially saving a lot of time (but obviously, risking to not find some sources that are well hidden in the tree). -q will omit the leading name of the query, so in particular, you can now do something like: cd `whereis -qs ls` I'd explicitly like to thank johan for his review which was quite a bit more than an average review, including sending me a lot of diffs. Reviewed by: johan
2002-07-11 21:20:54 +00:00
WARNS
?=
6
NO_WERROR
=
true
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00
.
i
n
c
l
u
d
e
<
b
s
d
.
p
r
o
g
.
m
k
>
Reference in New Issue
Copy Permalink