summaryrefslogtreecommitdiff
path: root/usr.bin/which
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-10-09 02:20:40 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-10-09 02:20:40 +0000
commitce0715cf51a64171cc80629f40da0609374fe3d5 (patch)
tree6fe2f19553176f19b3575472bae0ffe08d4fb877 /usr.bin/which
parent4112eb4aff32d1e1fc5aa1cdc7e575fc5b586833 (diff)
Correct the history of apropos(1), whatis(1) and whereis(1): These
utilities were already part of 2BSD. Also credit Bill Joy as the author. Document the HISTORY of options. Say a bit more about the fate of whereis(1). All information found on http://minnie.tuhs.org/cgi-bin/utree.pl and in the OpenBSD, NetBSD, and FreeBSD CVS trees. Using feedback from jmc@.
Diffstat (limited to 'usr.bin/which')
-rw-r--r--usr.bin/which/whereis.124
-rw-r--r--usr.bin/which/which.110
2 files changed, 23 insertions, 11 deletions
diff --git a/usr.bin/which/whereis.1 b/usr.bin/which/whereis.1
index f40ee6ef40d..6ae72f955b7 100644
--- a/usr.bin/which/whereis.1
+++ b/usr.bin/which/whereis.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: whereis.1,v 1.13 2010/09/29 07:44:57 jmc Exp $
+.\" $OpenBSD: whereis.1,v 1.14 2011/10/09 02:20:39 schwarze Exp $
.\" $NetBSD: whereis.1,v 1.4 1995/08/31 21:54:51 jtc Exp $
.\"
.\" Copyright (c) 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)whereis.1 8.3 (Berkeley) 4/27/95
.\"
-.Dd $Mdocdate: September 29 2010 $
+.Dd $Mdocdate: October 9 2011 $
.Dt WHEREIS 1
.Os
.Sh NAME
@@ -77,12 +77,20 @@ No names were resolved.
.Xr locate 1 ,
.Xr which 1 ,
.Xr sysctl 8
-.Sh STANDARDS
-The historic flags and arguments for the
-.Nm
-utility are no longer available in this version.
.Sh HISTORY
The
.Nm
-command appeared in
-.Bx 3.0 .
+command first appeared in
+.Bx 2 ,
+but the original version was legally tainted
+and was not included as part of the
+.Bx 4.4
+release, such that most of the original functionality was lost.
+.Pp
+The
+.Fl a
+option first appeared in
+.Ox 2.3 .
+.Sh AUTHORS
+The original version was written by
+.An Bill Joy .
diff --git a/usr.bin/which/which.1 b/usr.bin/which/which.1
index 55a05e42dbf..13430e6bf16 100644
--- a/usr.bin/which/which.1
+++ b/usr.bin/which/which.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: which.1,v 1.21 2010/09/29 07:44:57 jmc Exp $
+.\" $OpenBSD: which.1,v 1.22 2011/10/09 02:20:39 schwarze Exp $
.\"
.\" Copyright (c) 1980, 1991 Regents of the University of California.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)which.1 6.3 (Berkeley) 4/23/91
.\"
-.Dd $Mdocdate: September 29 2010 $
+.Dd $Mdocdate: October 9 2011 $
.Dt WHICH 1
.Os
.Sh NAME
@@ -93,5 +93,9 @@ though with a different syntax.
.Sh HISTORY
A
.Nm
-command appeared in
+command first appeared in
.Bx 3.0 .
+The
+.Fl a
+option first appeared in
+.Ox 2.3 .