=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/which/which.1,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- src/usr.bin/which/which.1 2007/08/14 17:41:10 1.16 +++ src/usr.bin/which/which.1 2009/01/06 23:29:03 1.17 @@ -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 @@ .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 @@ .Xr csh 1 , .Xr find 1 , .Xr locate 1 , -.Xr sh 1 , .Xr whereis 1 , .Xr environ 7 .Sh HISTORY @@ -93,15 +97,3 @@ .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 .