File: Spellfixes-and-manpage-fixes.patch

package info (click to toggle)
wcstools 3.9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,684 kB
  • sloc: ansic: 113,336; sh: 553; makefile: 245; lisp: 86; sed: 1
file content (270 lines) | stat: -rw-r--r-- 9,843 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
From: Ole Streicher <debian@liska.ath.cx>
Date: Fri, 5 Aug 2016 16:17:42 +0200
Subject: Spellfixes and manpage fixes

---
 edhead.c           |  2 +-
 immatch.c          |  2 +-
 imwcs.c            |  4 ++--
 libwcs/fitsfile.c  | 10 +++++-----
 libwcs/imhfile.c   |  4 ++--
 man/man1/edhead.1  |  2 +-
 man/man1/getcol.1  |  2 +-
 man/man1/getpix.1  |  2 +-
 man/man1/imcat.1   |  2 +-
 man/man1/imgsc.1   |  4 ++--
 man/man1/imua2.1   |  2 +-
 man/man1/keyhead.1 |  2 +-
 man/man1/skycoor.1 |  2 +-
 man/man1/sua2.1    |  2 +-
 man/man1/susa2.1   |  2 +-
 15 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/edhead.c b/edhead.c
index bc27036..3b45aec 100644
--- a/edhead.c
+++ b/edhead.c
@@ -109,7 +109,7 @@ usage ()
 	exit (-1);
     fprintf (stderr,"Edit header of FITS or IRAF image file\n");
     fprintf(stderr,"usage: edhead [-nv] [-e editor] file.fits file.imh...\n");
-    fprintf(stderr,"  -e: Set editor, overiding environment EDITOR \n");
+    fprintf(stderr,"  -e: Set editor, overriding environment EDITOR \n");
     fprintf(stderr,"  -n: write new file, else overwrite \n");
     fprintf(stderr,"  -v: verbose\n");
     exit (1);
diff --git a/immatch.c b/immatch.c
index 4812e0f..8d36240 100644
--- a/immatch.c
+++ b/immatch.c
@@ -383,7 +383,7 @@ char **av;
 
     /* If reference catalog is not set, exit with an error message */
     if (refcatname == NULL) {
-	PrintUsage ("* Must specifiy a reference catalog using -c or alias.");
+	PrintUsage ("* Must specify a reference catalog using -c or alias.");
 	}
 
     /* Process image files from list file */
diff --git a/imwcs.c b/imwcs.c
index 7d96703..a90421c 100644
--- a/imwcs.c
+++ b/imwcs.c
@@ -285,7 +285,7 @@ char **av;
     		    ac--;
     		    break;
 
-    		case 'o':	/* Specifiy output image filename */
+    		case 'o':	/* Specify output image filename */
     		    if (ac < 2)
     			PrintUsage (str);
 		    if (*(av+1)[0] == '-' || *(str+1) != (char)0)
@@ -476,7 +476,7 @@ char **av;
 
     /* If reference catalog is not set, exit with an error message */
     if (refcatname == NULL && matchfile == NULL) {
-	PrintUsage ("* Must specifiy a reference catalog using -c or alias.");
+	PrintUsage ("* Must specify a reference catalog using -c or alias.");
 	}
 
     if (!writeheader && !verbose) {
diff --git a/libwcs/fitsfile.c b/libwcs/fitsfile.c
index 41a3797..c26c727 100644
--- a/libwcs/fitsfile.c
+++ b/libwcs/fitsfile.c
@@ -1583,7 +1583,7 @@ char	*image;		/* FITS image pixels */
 	if (!access (filename, 0)) {
 	    fd = open (filename, O_WRONLY);
 	    if (fd < 3) {
-		snprintf (fitserrmsg,79, "FITSWIMAGE:  file %s not writeable\n", filename);
+		snprintf (fitserrmsg,79, "FITSWIMAGE:  file %s not writable\n", filename);
 		return (0);
 		}
 	    }
@@ -1622,7 +1622,7 @@ char	*image;		/* FITS image pixels */
 	if (!access (filename, 0)) {
 	    fd = open (filename, O_WRONLY);
 	    if (fd < 3) {
-		snprintf (fitserrmsg,79, "FITSWEXT:  file %s not writeable\n",
+		snprintf (fitserrmsg,79, "FITSWEXT:  file %s not writable\n",
 			 filename);
 		return (0);
 		}
@@ -1884,7 +1884,7 @@ char	*filename0;	/* Name of input FITS image file */
     if (!access (filename, 0)) {
 	fdout = open (filename, O_WRONLY);
 	if (fdout < 3) {
-	    snprintf (fitserrmsg,79, "FITSCIMAGE:  file %s not writeable\n", filename);
+	    snprintf (fitserrmsg,79, "FITSCIMAGE:  file %s not writable\n", filename);
 	    return (0);
 	    }
 	}
@@ -1970,7 +1970,7 @@ char	*header;	/* FITS image header */
     if (!access (filename, 0)) {
 	fd = open (filename, O_WRONLY);
 	if (fd < 3) {
-	    snprintf (fitserrmsg, 79, "FITSWHEAD:  file %s not writeable\n", filename);
+	    snprintf (fitserrmsg, 79, "FITSWHEAD:  file %s not writable\n", filename);
 	    return (0);
 	    }
 	}
@@ -2072,7 +2072,7 @@ char	*header;	/* FITS image header */
     if (ext != NULL)
 	*ext = cext;
     if (fd < 3) {
-	snprintf (fitserrmsg, 79, "FITSWEXHEAD:  file %s not writeable\n", filename);
+	snprintf (fitserrmsg, 79, "FITSWEXHEAD:  file %s not writable\n", filename);
 	return (-1);
 	}
 
diff --git a/libwcs/imhfile.c b/libwcs/imhfile.c
index 4279d3c..25f82ac 100644
--- a/libwcs/imhfile.c
+++ b/libwcs/imhfile.c
@@ -896,7 +896,7 @@ char	*fitsheader;	/* FITS image header */
     if (!access (hdrname, 0)) {
 	fd = open (hdrname, O_WRONLY);
 	if (fd < 3) {
-	    fprintf (stderr, "IRAFWIMAGE:  file %s not writeable\n", hdrname);
+	    fprintf (stderr, "IRAFWIMAGE:  file %s not writable\n", hdrname);
 	    return (0);
 	    }
 	}
@@ -993,7 +993,7 @@ char	*image;		/* IRAF image */
     if (!access (pixname, 0)) {
 	fd = open (pixname, O_WRONLY);
 	if (fd < 3) {
-	    fprintf (stderr, "IRAFWIMAGE:  file %s not writeable\n", pixname);
+	    fprintf (stderr, "IRAFWIMAGE:  file %s not writable\n", pixname);
 	    return (0);
 	    }
 	}
diff --git a/man/man1/edhead.1 b/man/man1/edhead.1
index 543487c..74dbedf 100644
--- a/man/man1/edhead.1
+++ b/man/man1/edhead.1
@@ -11,7 +11,7 @@ takes care of trailing spaces so they can be ignored while using the editor.
 .SH Options
 .TP
 .B \-e <editor path>
-Set editor, overiding environment EDITOR
+Set editor, overriding environment EDITOR
 .TP
 .B \-n
 Write a new file with .e before the file type extension.  The default is
diff --git a/man/man1/getcol.1 b/man/man1/getcol.1
index 9f2f2e6..dc630b5 100644
--- a/man/man1/getcol.1
+++ b/man/man1/getcol.1
@@ -77,7 +77,7 @@ Print only sum, mmean, sigma, median, or range, not entries
 .B \-r line range
 Print columns from the lines specified as either the first nonzero
 number on each line of the file listfile or the comma- and hyphen-
-delimitied range; i.e. 1-5,10-12 will print values from lines
+delimited range; i.e. 1-5,10-12 will print values from lines
 1, 2, 3, 4, 5, 10, 11, and 12.
 (added in version 2.6.12)
 .TP
diff --git a/man/man1/getpix.1 b/man/man1/getpix.1
index 95d0b5e..bd7569e 100644
--- a/man/man1/getpix.1
+++ b/man/man1/getpix.1
@@ -5,7 +5,7 @@ getpix \-Display FITS or IRAF image values
 setpix [\-vn] file.fts [x_range y_range value] [@valuefile]
 getpix [\-vp][\-n num][\-g val][\-l val] file.fits x_range y_range
 getpix [\-vp][\-n num][\-g val][\-l val] file.fits x1 y1 x2 y2 ... xn yn
-getpix [\-vp][\-n num][\-g val][-\l val] file.fits @file
+getpix [\-vp][\-n num][\-g val][\-l val] file.fits @file
 .SH Description
 Display the values of list of specified pixels or ranges of pixels in a FITS or
 IRAF 2-D image. Pixel values from a file of x y pairs may be displayed
diff --git a/man/man1/imcat.1 b/man/man1/imcat.1
index a1cac13..e975af6 100644
--- a/man/man1/imcat.1
+++ b/man/man1/imcat.1
@@ -4,7 +4,7 @@ imcat \- List catalog stars in FITS and IRAF image files
 .SH Synopsis
 imcat [options] FITS or IRAF file(s)
 .SH Description
-Search given catalog withing area described by the world coordinate
+Search given catalog within area described by the world coordinate
 system in an image header.  May be called as imuac to search the USNO A 1.0
 catalog, imusac to search the USNO SA 1.0 catalog, or imgsc to search
 the HST Guide Star Catalog.
diff --git a/man/man1/imgsc.1 b/man/man1/imgsc.1
index 604b072..aa64b2c 100644
--- a/man/man1/imgsc.1
+++ b/man/man1/imgsc.1
@@ -1,10 +1,10 @@
-.TH imgsc(1) WCS "14 April 1998"
+.TH imgsc 1 WCSTools "14 April 1998"
 .SH Name
 imgsc \- Find HST GSC stars in FITS or IRAF image files
 .SH Synopsis
 imgsc [options] FITS or IRAF file(s)
 .SH Description
-Search the HST Guide Star Catalog withing the area described by the world
+Search the HST Guide Star Catalog within the area described by the world
 coordinate system in an image header.  This is a link to imcat rather than
 a separate executable.
 .SH Options
diff --git a/man/man1/imua2.1 b/man/man1/imua2.1
index 8992d68..cf5eec7 100644
--- a/man/man1/imua2.1
+++ b/man/man1/imua2.1
@@ -78,7 +78,7 @@ Sort by RA instead of flux
 Tab table to standard output as well as file
 .TP
 .B \-u <plate>
-Accept only stars from thsi plate (default all)
+Accept only stars from this plate (default all)
 .TP
 .B \-v
 Verbose listing of processing intermediate results
diff --git a/man/man1/keyhead.1 b/man/man1/keyhead.1
index 4d1dfb1..fea7652 100644
--- a/man/man1/keyhead.1
+++ b/man/man1/keyhead.1
@@ -7,7 +7,7 @@ sethead [\-hknv] <FITS or IRAF file> kw1=kw1a kw2=kwd2a ... kwn=kwdna
 Change the names of keywords in FITS or IRAF image headers.  Each current
 image keyword whose entry is to be modified should be followed by an
 equal sign and a second keyword, with no intervening spaces.
-If the \-r option is used, the value of the second keyword is transfered
+If the \-r option is used, the value of the second keyword is transferred
 to that of the first. Otherwise, the name of the first keyword is changed
 to the second keyword.
 To change keywords in a list of files, substitute @<listfile> for the file
diff --git a/man/man1/skycoor.1 b/man/man1/skycoor.1
index c3b3d2b..2126c29 100644
--- a/man/man1/skycoor.1
+++ b/man/man1/skycoor.1
@@ -1,4 +1,4 @@
-.TH skycoor(1) WCSTools "9 November 2001"
+.TH skycoor 1 WCSTools "9 November 2001"
 .SH Name
 skycoor \- Convert coordinates
 .SH Synopsis
diff --git a/man/man1/sua2.1 b/man/man1/sua2.1
index b28c89a..d29d126 100644
--- a/man/man1/sua2.1
+++ b/man/man1/sua2.1
@@ -1,6 +1,6 @@
 .TH sua2 1  WCS "19 November 1999"
 .SH Name
-Find USNO-A2.0 Catalog stars in a square on the sky
+sua2 \- Find USNO-A2.0 Catalog stars in a square on the sky
 .SH Synopsis
 sua2 [options] ra dec system
 .SH Description
diff --git a/man/man1/susa2.1 b/man/man1/susa2.1
index 06409e2..8d03886 100644
--- a/man/man1/susa2.1
+++ b/man/man1/susa2.1
@@ -1,6 +1,6 @@
 .TH susa2 1 WCS "9 June 2000"
 .SH Name
-Find USNO-SA2.0 Catalog stars in a square on the sky
+susa2 \- Find USNO-SA2.0 Catalog stars in a square on the sky
 .SH Synopsis
 susac [options] [\-b or \-j] ra dec
 .SH Description