Gentoo Archives: gentoo-user

From: "»Q«" <boxcars@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Attic (cvs) -> ???(git)
Date: Fri, 26 Feb 2016 17:17:40
Message-Id: 20160226111557.694e7128@sepulchrave.remarqs
In Reply to: [gentoo-user] Re: Attic (cvs) -> ???(git) by James
1 On Fri, 26 Feb 2016 16:43:05 +0000 (UTC)
2 James <wireless@×××××××××××.com> wrote:
3
4 [ about aprospos ]
5 > Looks like an alias to 'whatis'? 'whereis' still one of my favorite
6 > little tools.
7
8 It queries the whatis database differently depending on how it's called.
9
10 Think of the whatis database as columnar and containing two columns.
11 The left column contains the program name (the command used to invoke
12 the program) and the right side contains the first line of the
13 manual's program synopsis. apropos searches both columns using the
14 keyword as a regular expression to find all occurrences of the
15 keyword. These occurrences may be embedded in the command word or the
16 words of the synopsis. For example, apropos cat returns lines
17 containing the word catalog, category, duplicate, application, etc.
18 whatis, on the other hand, searches only the left hand column, which
19 contains only the program name. This feature is helpful if you know
20 the name of a command, but not its function.
21
22 That's from <http://www.linuxjournal.com/article/1329>, written 20
23 years ago, but AFAIK these things haven't changed.