diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-01-06 23:29:04 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-01-06 23:29:04 +0000 |
commit | c033464f8e45114bf54e0cb34b225445e2227ed2 (patch) | |
tree | 091602dad74d91921856bdbbb69a62051a766abb /usr.bin/which | |
parent | 1bdb295fcd579a294accd1e9cd5a343c2f4e1d92 (diff) |
document, consistently, those apps which also exist as built-ins
on certain shells; do not try to document changes between the
implementations, but at least warn of their existence;
diff from Ingo Schwarze
Diffstat (limited to 'usr.bin/which')
-rw-r--r-- | usr.bin/which/which.1 | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/usr.bin/which/which.1 b/usr.bin/which/which.1 index fb92b85b859..4598a3cdd3b 100644 --- a/usr.bin/which/which.1 +++ b/usr.bin/which/which.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: which.1,v 1.16 2007/08/14 17:41:10 sobrado Exp $ +.\" $OpenBSD: which.1,v 1.17 2009/01/06 23:29:03 jmc 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: August 14 2007 $ +.Dd $Mdocdate: January 6 2009 $ .Dt WHICH 1 .Os .Sh NAME @@ -51,6 +51,11 @@ flag is given, .Nm will return a list of all matches instead of just the first match. .Pp +.Nm +also exists as a built-in to +.Xr csh 1 , +though with a different syntax. +.Pp The .Nm utility exits with one of the following values: @@ -85,7 +90,6 @@ name was not found in the path. .Xr csh 1 , .Xr find 1 , .Xr locate 1 , -.Xr sh 1 , .Xr whereis 1 , .Xr environ 7 .Sh HISTORY @@ -93,15 +97,3 @@ A .Nm command appeared in .Bx 3.0 . -.Sh CAVEATS -The -.Nm -command formerly was a -.Xr csh 1 -script and could expand aliases. -.Xr csh 1 -now has a built-in -.Nm -command so this version is intended for use -with other shells like -.Xr sh 1 . |