whereis.1 (8e4c33e9e7c9915c4b3b36001216ac8f48bdf7f9) | whereis.1 (1f05bc6c92b037a24315c8408aab875bbd6453b8) |
---|---|
1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Copyright 2002 Joerg Wunsch 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 21 unchanged lines hidden (view full) --- 30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32.\" SUCH DAMAGE. 33.\" 34.\" @(#)whereis.1 8.2 (Berkeley) 12/30/93 35.\" 36.\" $FreeBSD$ 37.\" | 1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Copyright 2002 Joerg Wunsch 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 21 unchanged lines hidden (view full) --- 30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32.\" SUCH DAMAGE. 33.\" 34.\" @(#)whereis.1 8.2 (Berkeley) 12/30/93 35.\" 36.\" $FreeBSD$ 37.\" |
38.Dd July 11, 2002 | 38.Dd August 18, 2002 |
39.Dt WHEREIS 1 40.Os 41.Sh NAME 42.Nm whereis 43.Nd locate programs 44.Sh SYNOPSIS 45.Nm | 39.Dt WHEREIS 1 40.Os 41.Sh NAME 42.Nm whereis 43.Nd locate programs 44.Sh SYNOPSIS 45.Nm |
46.Op Fl bmqsux | 46.Op Fl abmqsux |
47.Op Fl BMS Ar dir Ar ... Fl f 48.Ar program ... 49.Sh DESCRIPTION 50The 51.Nm 52utility checks the standard binary, manual page, and source 53directories for the specified programs, printing out the paths of any 54it finds. The supplied program names are first stripped of leading --- 34 unchanged lines hidden (view full) --- 89.It Fl M 90Specify directories to search for manual pages. Requires the 91.Fl f 92option. 93.It Fl S 94Specify directories to search for program sources. Requires the 95.Fl f 96option. | 47.Op Fl BMS Ar dir Ar ... Fl f 48.Ar program ... 49.Sh DESCRIPTION 50The 51.Nm 52utility checks the standard binary, manual page, and source 53directories for the specified programs, printing out the paths of any 54it finds. The supplied program names are first stripped of leading --- 34 unchanged lines hidden (view full) --- 89.It Fl M 90Specify directories to search for manual pages. Requires the 91.Fl f 92option. 93.It Fl S 94Specify directories to search for program sources. Requires the 95.Fl f 96option. |
97.It Fl a 98Report all matches instead of only the first of each requested type. |
|
97.It Fl b 98Search for binaries. 99.It Fl f 100Delimits the list of directories after the 101.Fl B , 102.Fl M , 103or 104.Fl S --- 9 unchanged lines hidden (view full) --- 114This can become handy for use in a backquote substitution of a 115shell command line, see 116.Sx EXAMPLES . 117.It Fl s 118Search for source directories. 119.It Fl u 120Search for 121.Dq unusual | 99.It Fl b 100Search for binaries. 101.It Fl f 102Delimits the list of directories after the 103.Fl B , 104.Fl M , 105or 106.Fl S --- 9 unchanged lines hidden (view full) --- 116This can become handy for use in a backquote substitution of a 117shell command line, see 118.Sx EXAMPLES . 119.It Fl s 120Search for source directories. 121.It Fl u 122Search for 123.Dq unusual |
122entries. A file is said to be unusual if it does not have one entry 123of each requested type. | 124entries. A file is said to be unusual if it does not have at least 125one entry of each requested type. |
124Only the name of the unusual entry is printed. 125.It Fl x 126Do not use 127.Dq expensive 128tools when searching for source directories. 129Normally, after unsuccessfully searching all the first-level 130subdirectories of the source directory list, 131.Nm --- 37 unchanged lines hidden (view full) --- 169This re-implementation of the 170.Nm 171utility is not bug-for-bug compatible with historical versions. 172It is believed to be compatible with the version that was shipping with 173.Fx 2.2 174through 175.Fx 4.5 176though. | 126Only the name of the unusual entry is printed. 127.It Fl x 128Do not use 129.Dq expensive 130tools when searching for source directories. 131Normally, after unsuccessfully searching all the first-level 132subdirectories of the source directory list, 133.Nm --- 37 unchanged lines hidden (view full) --- 171This re-implementation of the 172.Nm 173utility is not bug-for-bug compatible with historical versions. 174It is believed to be compatible with the version that was shipping with 175.Fx 2.2 176through 177.Fx 4.5 178though. |
179.Pp 180The 181.Nm 182utility can report some unrelated source entries when the 183.Fl a 184option is specified. |
|