1
Fix typos in documentation, update paths for FHS.
3
diff -Nur whichman-2.4.old/man1/ftff.1 whichman-2.4/man1/ftff.1
4
--- whichman-2.4.old/man1/ftff.1 2001-05-04 23:02:59.000000000 +0200
5
+++ whichman-2.4/man1/ftff.1 2008-01-27 14:45:55.000000000 +0100
8
.TH FTFF 1 "August 1998" "Search utilities" \" -*- nroff -*-
10
-ftff \- fault tolerant file find utiltiy
11
+ftff \- fault tolerant file find utility
14
[\-#fFhIpq][\-t#][start_directory] file_to_find
17
The last argument to ftff is not parsed for options as the program needs
18
at least one file-name argument. This means that
20
-will not complain about a wrong option but search for the file named -x.
22
+will not complain about a wrong option but search for the file named \-x.
28
Guido Socher (guido@linuxfocus.org)
31
+.BR whichman "(1), " find (1)
33
diff -Nur whichman-2.4.old/man1/ftwhich.1 whichman-2.4/man1/ftwhich.1
34
--- whichman-2.4.old/man1/ftwhich.1 2001-05-04 23:03:06.000000000 +0200
35
+++ whichman-2.4/man1/ftwhich.1 2008-01-27 14:45:55.000000000 +0100
37
.\" This is free software and distributed under the
38
.\" terms of the Gnu Public License.
40
-.TH ftwhich 15 "January 1999" "Search utilities" \" -*- nroff -*-
41
+.TH FTWHICH 1 "January 1999" "Search utilities" \" -*- nroff -*-
43
ftwhich \- fault tolerant search for a command name
46
searches for a given program in all directories included in your
47
PATH environment variable and reports all files with a name that approximately
53
achieves fault tolerance by calculating the so called
63
command with the following differences:
69
Some shells have a build in
72
command that will also search aliases.
74
-can naturaly not search for aliases as it does not know
76
+can naturally not search for aliases as it does not know
77
about alias definitions.
81
-lists all files that approximatly match. The files first
82
+lists all files that approximately match. The files first
83
shown take preference over files of the same name printed later as
84
they are from directories listed earlier in the PATH.
88
The last argument to ftwhich is not parsed for options as the program needs
89
at least one program_name argument. This means that
91
-will not complain about a wrong option but search for the program named -x.
93
+will not complain about a wrong option but search for the program named \-x.
95
Search for all programs like gcc in your PATH:
99
Guido Socher (guido@linuxfocus.org)
102
+.BR whichman "(1), " ftff (1)
104
diff -Nur whichman-2.4.old/man1/whichman.1 whichman-2.4/man1/whichman.1
105
--- whichman-2.4.old/man1/whichman.1 2001-05-04 23:03:23.000000000 +0200
106
+++ whichman-2.4/man1/whichman.1 2008-01-27 14:45:55.000000000 +0100
108
.\" This is free software and only distributed under the
109
.\" terms of the Gnu Public License. Author: Guido Socher
111
-.TH whichman 1 "April 1998" "Search utilities" \" -*- nroff -*-
112
+.TH WHICHMAN 1 "April 1998" "Search utilities" \" -*- nroff -*-
114
whichman \- show the location of a man page using a fault tolerant approximate matching algorithm
119
environment variable.
120
+If this variable is not defined, then it uses
121
+.I "/usr/share/man:/usr/man:/usr/X11R6/man:"
122
+.I "/usr/local/share/man:/usr/local/man"
125
Unlike "which" this program does not stop on the first match. The name
126
should probably have been something like whereman as this is not a
128
permitted in finding the approximate match. A tolerance_level of zero
129
allows exact matches only but does NOT disable the wildcards * and ?.
131
-The search key may contain the wildcards * and ? (but see -e option):
132
+The search key may contain the wildcards * and ? (but see \-e option):
135
any arbitrary number of character
138
The last argument to whichman is not parsed for options as the program needs
139
at least one man-page-name argument. This means that
141
-will not complain about a wrong option but search for the man-page named -x.
143
+will not complain about a wrong option but search for the man-page named \-x.
148
This will e.g. find the man-pages:
150
-/usr/man/man1/printf.1.gz
151
+/usr/share/man/man1/printf.1.gz
153
-/usr/man/man3/printf.3.gz
154
+/usr/share/man/man3/printf.3.gz
156
-/usr/man/man3/rint.3.gz
157
+/usr/share/man/man3/rint.3.gz
163
Guido Socher (guido@linuxfocus.org)
166
+.BR ftff "(1), " man (1)
167
--- whichman-2.4.old/README 2004-04-15 04:21:05.000000000 +0200
168
+++ whichman-2.4/README 2008-01-27 14:45:55.000000000 +0100
170
ftwhich -- a fault tolerant "which" command
172
ftwhich finds files (programs) which are in one of the directories in
173
-your PATH and uses a fault tolerant search algorithem.
174
+your PATH and uses a fault tolerant search algorithm.
176
Example, search all clocks:
177
> ftwhich -0 '*clock*'