History log of /freebsd-10.0-release/usr.bin/whereis/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


228991 30-Dec-2011 uqs

Reencode files from latin1 to UTF-8.

This makes a tiny percentage of entries in calendars ugly for latin1
users, but fixes them for UTF-8 users.

This badly needs a solution involving locale-dependent re-encoding.


227244 06-Nov-2011 ed

Mark global functions and/or variables in whereis(1) static where possible.

This allows compilers and static analyzers to more thorough analysis.


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


179888 20-Jun-2008 joerg

Make the search for sources in PATH_PORTS more accurate. I only
noticed that a "whereis -qs qemu" matched the distfiles subdir of qemu
rather than /usr/ports/emulators/qemu.

It now ignores all dot entries in /usr/ports, plus all entries
starting with a capital letter (maintenance stuff like Templates, but
also includes subdir CVS), plus /usr/ports/distfiles which is simply a
magic name in that respect.


144840 09-Apr-2005 stefanf

Remove unused variables.


141657 10-Feb-2005 ru

Fixed usage().


140941 28-Jan-2005 ru

Let bsd.prog.mk set SRCS and MAN to their default values.


132198 15-Jul-2004 tjr

Respect locale settings from the environment.


131491 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


108436 30-Dec-2002 obrien

Adjust max WARNs for sparc64.


107276 26-Nov-2002 ru

mdoc(7) police: markup polishing.

Approved by: re


102247 22-Aug-2002 johan

Use correct document date for the -a option.


102246 22-Aug-2002 johan

Add the -a option to report all matches instead of only the
first of each requested type.

Approved by: joerg, sheldonh (mentor)


102072 18-Aug-2002 johan

Correctly handle empty path arguments, e.g., whereis -S -f biff.

Approved by: joerg, sheldonh (mentor)


100691 25-Jul-2002 johan

Define all paths in pathnames.h

Approved by: joerg, sheldonh (mentor)


100608 24-Jul-2002 johan

Teach whereis(1) about games.

Approved by: joerg, sheldonh (mentor)


99970 14-Jul-2002 charnier

The .Nm utility


99821 11-Jul-2002 joerg

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


99406 04-Jul-2002 johan

Restore copyright and RCSID.
Remove duplicate $FreeBSD$, $NetBSD$.

Submitted by: mike
Approved by: sheldonh (mentor)


99378 03-Jul-2002 johan

Switch to c version

Approved by: sheldonh (mentor)


99377 03-Jul-2002 johan

compact synopsis
s/program [program ...]/program .../
s/program [...]/program .../

Approved by: sheldonh (mentor)


99376 03-Jul-2002 johan

Remove -p flag.
OpenBSD's implementation lacks -p, and we don't want to
support the option now, only to lose it if/when we later
switch to OpenBSD's implementation.
This functionality is provided by which(1).

Approved by: sheldonh (mentor)


99375 03-Jul-2002 johan

Add __FBSDID.
Remove __COPYRIGHT, __RCSID which caused an assembler warning.

Approved by: sheldonh (mentor)


99373 03-Jul-2002 johan

Change to NetBSDs version of whereis.

Approved by: sheldonh (mentor)
Obtained from: NetBSD


79535 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


75286 07-Apr-2001 ru

beforeinstall -> SCRIPTS.


74848 27-Mar-2001 ru

MAN[1-9] -> MAN.


70197 19-Dec-2000 ru

Prepare for mdoc(7)NG.


68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68854 17-Nov-2000 ru

mdoc(7) police: use certified section headers wherever possible.


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48086 21-Jun-1999 hoek

Don't strip trailing .suffixes from filenames. Although obviously
intentional, this behaviour is far too obnoxious given the number of
filenames such as rpc.statd we have.

Submitted by: Chris Costello [3]chris@calldei.com (bin/11303)


39945 04-Oct-1998 obrien

Also look in /usr/src/contrib.

PR: bin/7835
Submitted by: Stephen J. Roznowski <sjr@home.net>


38702 31-Aug-1998 wosch

Sort cross references.


36057 15-May-1998 jkoshy

Add cross references for find(1), locate(1), whereis(1) and which(1).

Submitted by: Josh Gillam <josh@quick.net>
PR: docs/6642


31938 22-Dec-1997 ache

Fix sysctl path /usr/sbin->/sbin


23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


20869 23-Dec-1996 joerg

Fix a logico that sneaked into the manpath handling.

Turn off error messages from locate(1), we can't do very much about
its database not being ok anyway at this time.

Closes PR # bin/2183: whereis returns environ...


16385 15-Jun-1996 joerg

A totally revamped whereis(1), bringing back all the functionality of
the 4.3BSD command. Rewritten from scratch after the old man page,
taking account for the different situation with man pages and source
tree hierarchy (re: /usr/src/gnu) of the FreeBSD project.

Reviewed by: wosch (actually loooong time ago)


1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.