which.1 (51090) | which.1 (51275) |
---|---|
1.\" Manpage Copyright (c) 1995, Jordan Hubbard <jkh@freebsd.org> 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 13 unchanged lines hidden (view full) --- 22.\" IN NO EVENT SHALL THE CONTRIBUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29.\" | 1.\" Manpage Copyright (c) 1995, Jordan Hubbard <jkh@freebsd.org> 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 13 unchanged lines hidden (view full) --- 22.\" IN NO EVENT SHALL THE CONTRIBUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29.\" |
30.\" $FreeBSD: head/usr.bin/which/which.1 51090 1999-09-08 15:40:46Z sheldonh $ | 30.\" $FreeBSD: head/usr.bin/which/which.1 51275 1999-09-14 11:46:04Z sheldonh $ |
31.Dd January 26, 1995 32.Dt WHICH 1 33.Os FreeBSD 34.Sh NAME 35.Nm which 36.Nd "locate a program file in the user's path" 37.Sh SYNOPSIS 38.Nm which --- 11 unchanged lines hidden (view full) --- 50List all instances of executables found (instead of just the first one 51of each). 52.It Fl s 53No output, just return 0 if any of the executables are found, or 1 if 54none are found. 55.Pp 56Some shells may provide a builtin 57.Nm | 31.Dd January 26, 1995 32.Dt WHICH 1 33.Os FreeBSD 34.Sh NAME 35.Nm which 36.Nd "locate a program file in the user's path" 37.Sh SYNOPSIS 38.Nm which --- 11 unchanged lines hidden (view full) --- 50List all instances of executables found (instead of just the first one 51of each). 52.It Fl s 53No output, just return 0 if any of the executables are found, or 1 if 54none are found. 55.Pp 56Some shells may provide a builtin 57.Nm |
58command which is similar or identical to this utility. Consult 59the | 58command which is similar or identical to this utility. 59Consult the |
60.Xr builtin 1 61manual page. 62.Sh HISTORY 63The 64.Nm 65command first appeared in 66.Fx 2.1 . 67.Sh SEE ALSO 68.Xr builtin 1 , 69.Xr csh 1 , 70.Xr find 1 , 71.Xr locate 1 , 72.Xr perl 1 , 73.Xr whereis 1 74.Sh AUTHORS 75The PERL script for this more modern version of 76.Nm 77was written by 78.An Wolfram Schneider Aq wosch@FreeBSD.org . | 60.Xr builtin 1 61manual page. 62.Sh HISTORY 63The 64.Nm 65command first appeared in 66.Fx 2.1 . 67.Sh SEE ALSO 68.Xr builtin 1 , 69.Xr csh 1 , 70.Xr find 1 , 71.Xr locate 1 , 72.Xr perl 1 , 73.Xr whereis 1 74.Sh AUTHORS 75The PERL script for this more modern version of 76.Nm 77was written by 78.An Wolfram Schneider Aq wosch@FreeBSD.org . |