joerg 1d2b625a3d 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
..
2002-04-19 23:44:58 +00:00
2002-04-19 23:18:18 +00:00
2002-05-30 13:33:59 +00:00
2002-05-29 18:00:23 +00:00
2002-03-22 01:22:50 +00:00
2002-02-01 16:33:40 +00:00
2002-07-01 16:02:05 +00:00
2002-04-19 23:44:58 +00:00
2002-05-30 13:39:43 +00:00
2002-04-28 13:53:38 +00:00
2002-04-28 13:54:45 +00:00
2002-04-19 23:44:58 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-04 09:17:30 +00:00
2002-04-19 23:44:58 +00:00
2002-04-20 12:18:28 +00:00
2002-04-19 23:44:58 +00:00
2002-03-22 01:22:50 +00:00
2002-05-29 18:12:21 +00:00
2002-06-30 05:34:21 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-04-19 23:44:58 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-15 09:42:17 +00:00
2002-06-30 09:24:25 +00:00
2002-05-29 14:23:10 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-01-07 20:37:33 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-07-02 21:13:15 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-04-20 12:18:28 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-06-30 05:25:07 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-06-30 05:25:07 +00:00
2002-04-20 12:18:28 +00:00
2002-07-03 06:48:12 +00:00
2002-01-03 21:20:29 +00:00
2002-04-20 12:18:28 +00:00
2002-06-17 13:37:31 +00:00
2002-03-22 01:33:25 +00:00
2002-03-22 01:42:45 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-06-06 19:27:17 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-05-30 06:18:53 +00:00
2002-03-22 01:42:45 +00:00
2002-03-22 01:42:45 +00:00
2002-06-15 08:41:12 +00:00
2002-03-22 01:42:45 +00:00
2002-04-20 12:18:28 +00:00
2002-05-30 11:42:44 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-06-07 01:41:54 +00:00
2002-05-29 13:45:16 +00:00
2002-07-11 21:20:54 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-04-20 12:18:28 +00:00
2002-07-11 07:28:21 +00:00