~ubuntu-branches/ubuntu/raring/whichman/raring

« back to all changes in this revision

Viewing changes to debian/patches/01_documentation.patch

  • Committer: Package Import Robot
  • Author(s): Robert Luberda
  • Date: 2012-02-19 16:05:46 UTC
  • Revision ID: package-import@ubuntu.com-20120219160546-nd61zqumiov4zvbl
Tags: 2.4-7
* Switch to debhelper v9 and tiny rules file.
* Rename & refresh patches with gbp-pq import/export.
* Fix lintian's `spelling-error-in-copyright'.
* debian/rules: remove .pc/.dpkg-source-unapply file in rules.
  This fixes broken behaviour of dpkg-buildpackage (see Bug#649521).
* debian/control:
  + Standards-Version: 3.9.2 (no changes);
  + add VCS fields;
  + sort dependency fields with wrap-and-sort.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Fix typos in documentation, update paths for FHS.
2
 
 
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
6
 
@@ -4,7 +4,7 @@
7
 
 .\"
8
 
 .TH FTFF 1 "August 1998" "Search utilities"  \" -*- nroff -*-
9
 
 .SH NAME
10
 
-ftff \- fault tolerant file find utiltiy
11
 
+ftff \- fault tolerant file find utility
12
 
 .SH SYNOPSIS
13
 
 .B ftff
14
 
 [\-#fFhIpq][\-t#][start_directory] file_to_find
15
 
@@ -110,8 +110,8 @@
16
 
 .PP
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 
19
 
-.I ftff -x
20
 
-will not complain about a wrong option but search for the file named -x.
21
 
+.I ftff \-x
22
 
+will not complain about a wrong option but search for the file named \-x.
23
 
 .SH EXAMPLE
24
 
 .I  ftff 
25
 
 .RB samething
26
 
@@ -139,5 +139,5 @@
27
 
 .SH AUTHOR
28
 
 Guido Socher (guido@linuxfocus.org)
29
 
 .SH SEE ALSO
30
 
-whichman(1) find(1)
31
 
+.BR whichman "(1), " find (1)
32
 
 
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
36
 
@@ -2,7 +2,7 @@
37
 
 .\"     This is free software and distributed under the
38
 
 .\"     terms of the Gnu Public License.
39
 
 .\"
40
 
-.TH ftwhich 15 "January 1999" "Search utilities"  \" -*- nroff -*-
41
 
+.TH FTWHICH 1 "January 1999" "Search utilities"  \" -*- nroff -*-
42
 
 .SH NAME
43
 
 ftwhich \- fault tolerant search for a command name
44
 
 .SH SYNOPSIS
45
 
@@ -15,7 +15,7 @@
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
48
 
 matches the given 
49
 
-.B program_name.
50
 
+.I program_name.
51
 
 .PP
52
 
 .B ftwhich
53
 
 achieves  fault tolerance  by calculating the  so called
54
 
@@ -27,9 +27,9 @@
55
 
 into a string 
56
 
 .I B.
57
 
 .PP
58
 
-.I ftwhich
59
 
+.B ftwhich
60
 
 is similar to the
61
 
-.I which 
62
 
+.B which 
63
 
 command with the following differences:
64
 
 .TP
65
 
 \- 
66
 
@@ -40,15 +40,15 @@
67
 
 .TP
68
 
 \- 
69
 
 Some shells have a build in
70
 
-.I which
71
 
+.B which
72
 
 command that will also search aliases. 
73
 
-.I ftwhich 
74
 
-can naturaly not search for aliases as it does not know 
75
 
+.B ftwhich 
76
 
+can naturally not search for aliases as it does not know 
77
 
 about alias definitions. 
78
 
 .TP
79
 
 \- 
80
 
 .B ftwhich 
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.
85
 
 .TP
86
 
@@ -93,8 +93,8 @@
87
 
 .PP
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 
90
 
-.I ftwhich -x
91
 
-will not complain about a wrong option but search for the program named -x.
92
 
+.I ftwhich \-x
93
 
+will not complain about a wrong option but search for the program named \-x.
94
 
 .SH EXAMPLE
95
 
 Search for all programs like gcc in your PATH:
96
 
 .br
97
 
@@ -131,5 +131,5 @@
98
 
 .SH AUTHOR
99
 
 Guido Socher (guido@linuxfocus.org)
100
 
 .SH SEE ALSO
101
 
-whichman(1) ftff(1)
102
 
+.BR whichman "(1), " ftff (1)
103
 
 
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
107
 
@@ -2,7 +2,7 @@
108
 
 .\"     This is free software and only distributed under the
109
 
 .\"     terms of the Gnu Public License. Author: Guido Socher
110
 
 .\"
111
 
-.TH whichman 1 "April 1998" "Search utilities"  \" -*- nroff -*-
112
 
+.TH WHICHMAN 1 "April 1998" "Search utilities"  \" -*- nroff -*-
113
 
 .SH NAME
114
 
 whichman \- show the location of a man page using a fault tolerant approximate matching algorithm
115
 
 .SH SYNOPSIS
116
 
@@ -15,6 +15,10 @@
117
 
 searches the    
118
 
 .B MANPATH 
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"
123
 
+by default.
124
 
 .PP
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
127
 
@@ -51,7 +55,7 @@
128
 
 permitted in finding the approximate match.  A tolerance_level of zero
129
 
 allows exact matches only but does NOT disable the wildcards * and ?.
130
 
 .PP
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):
133
 
 .TP 
134
 
 .BR '*'
135
 
 any arbitrary number of character
136
 
@@ -61,19 +65,19 @@
137
 
 .PP
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 
140
 
-.I whichman -x
141
 
-will not complain about a wrong option but search for the man-page named -x.
142
 
+.I whichman \-x
143
 
+will not complain about a wrong option but search for the man-page named \-x.
144
 
 .SH EXAMPLE
145
 
 .I  whichman
146
 
 .RB print
147
 
 .PP
148
 
 This will e.g. find the man-pages:
149
 
 .br
150
 
-/usr/man/man1/printf.1.gz
151
 
+/usr/share/man/man1/printf.1.gz
152
 
 .br
153
 
-/usr/man/man3/printf.3.gz
154
 
+/usr/share/man/man3/printf.3.gz
155
 
 .br
156
 
-/usr/man/man3/rint.3.gz
157
 
+/usr/share/man/man3/rint.3.gz
158
 
 .SH BUGS
159
 
 The wildcards 
160
 
 .BR '?'
161
 
@@ -85,4 +89,4 @@
162
 
 .SH AUTHOR
163
 
 Guido Socher (guido@linuxfocus.org)
164
 
 .SH SEE ALSO
165
 
-ftff(1) man(1)
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
169
 
@@ -44,7 +44,7 @@
170
 
 ftwhich -- a fault tolerant "which" command 
171
 
 
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.
175
 
 
176
 
 Example, search all clocks:
177
 
 > ftwhich -0 '*clock*'