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
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
|
/* -*- buffer-read-only: t -*- vi: set ro:
*
* DO NOT EDIT THIS FILE (ao-strs.c)
*
* It has been AutoGen-ed
* From the definitions ao-strs.def
* and the template file strings
*
* Copyright (C) 2011-2014 Bruce Korb, all rights reserved.
* This is free software. It is licensed for use, modification and
* redistribution under the terms of the
* Modified (3 clause) Berkeley Software Distribution License
* <http://www.xfree86.org/3.3.6/COPYRIGHT2.html>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name ``Bruce Korb'' nor the name of any other
* contributor may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* strings IS PROVIDED BY Bruce Korb ``AS IS'' AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL Bruce Korb OR ANY OTHER CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ao-strs.h"
char const ao_strs_strtable[6633] =
/* 0 */ "-_^\0"
/* 4 */ " %s%s\n\0"
/* 12 */ "auto-options\0"
/* 25 */ "program\0"
/* 33 */ "%%-%ds %%s\n\0"
/* 45 */ "\n"
"%s\n\n\0"
/* 51 */ "=file\0"
/* 57 */ "=Mbr\0"
/* 62 */ "=Cplx\0"
/* 68 */ "[=arg]\0"
/* 75 */ "--%2$s%1$s\0"
/* 86 */ "=Tim\0"
/* 91 */ "none\0"
/* 96 */ "# preset/initialization file\n"
"# %s#\n\0"
/* 134 */ " %3s %-14s %s\0"
/* 148 */ "%s\0"
/* 151 */ "T/F\0"
/* 155 */ "\n"
"%s\n\n"
"%s\0"
/* 163 */ "Fil\0"
/* 167 */ "KWd\0"
/* 171 */ "Mbr\0"
/* 175 */ "Cpx\0"
/* 179 */ "no \0"
/* 183 */ "Num\0"
/* 187 */ "opt\0"
/* 191 */ "YES\0"
/* 195 */ "Str\0"
/* 199 */ "Tim\0"
/* 203 */ "\t\t\t\t- \0"
/* 210 */ "\t\t\t\t \0"
/* 217 */ "\t\t\t\t-- and \0"
/* 229 */ "\t\t\t\t%s\n\0"
/* 237 */ " \0"
/* 244 */ " \0"
/* 250 */ " \0"
/* 254 */ " \0"
/* 257 */ "all\0"
/* 261 */ " \t\n"
":=\0"
/* 267 */ "%s_%s_%d=\0"
/* 277 */ "''\0"
/* 280 */ " ;;\n\n\0"
/* 293 */ "'\n\n\0"
/* 297 */ "</%s>\n\0"
/* 304 */ " %s\n\0"
/* 310 */ "%%-%ds\0"
/* 317 */ "\n"
"export %s_%s_%d\n\0"
/* 335 */ "false\0"
/* 341 */ " -* )\n\0"
/* 351 */ "flag\0"
/* 356 */ "INVALID-%d\0"
/* 367 */ "*INVALID*\0"
/* 377 */ "\\n\\\n\0"
/* 382 */ " --* )\n\0"
/* 393 */ "--\0"
/* 396 */ "LONGUSAGE\0"
/* 406 */ " %s\n\0"
/* 422 */ "\\%03o\0"
/* 428 */ "more\0"
/* 433 */ "<%s type=nested>\n\0"
/* 451 */ "%s\n\0"
/* 455 */ "%s\n"
" \0"
/* 461 */ "OPT_ARG_NEEDED=NO\0"
/* 479 */ "<%s/>\n\0"
/* 486 */ "OPT_ARG_NEEDED=OK\0"
/* 504 */ "\t\0"
/* 506 */ "<%s>\0"
/* 511 */ "option\0"
/* 518 */ "\n"
"export %s_%s\n\0"
/* 533 */ "%s_%s=\0"
/* 540 */ " | \0"
/* 544 */ "PAGER\0"
/* 550 */ " + \0"
/* 554 */ " puts(_(%s));\n\0"
/* 570 */ "\\'\0"
/* 573 */ "'%s'\0"
/* 578 */ " -- %s\0"
/* 585 */ "%s_%s_TEXT='\0"
/* 598 */ "#! %s\n\0"
/* 605 */ "\n"
"env | grep '^%s_'\n\0"
/* 625 */ "=%1$lu # 0x%1$lX\n\0"
/* 643 */ "stdout\0"
/* 650 */ "%A %B %e, %Y at %r %Z\0"
/* 672 */ "%s/use-%u.XXXXXX\0"
/* 689 */ "true\0"
/* 694 */ "<%s type=%s>\0"
/* 707 */ "VERSION\0"
/* 715 */ "#x%02X;\0"
/* 723 */ "OPT_ARG_NEEDED=YES\0"
/* 742 */ "'\\''\0"
/* 747 */ " '%s'\0"
/* 753 */ "\n"
"OPTION_CT=0\n\0"
/* 767 */ "set --\0"
/* 774 */ " ;;\n\n\0"
/* 791 */ " '%c' )\n\0"
/* 807 */ " '%s' )\n\0"
/* 823 */ " '%s' | \\\n\0"
/* 841 */ "TMPDIR\0"
/* 848 */ "/tmp\0"
/* 853 */ "%1$s %2$s ; rm -f %2$s\0"
/* 876 */ "<%1$s type=boolean>%2$s</%1$s>\n\0"
/* 908 */ "# From the %s option definitions\n"
"#\n\0"
/* 945 */ "echo 'Warning: Cannot load options files' >&2\0"
/* 992 */ "echo 'Warning: Cannot save options files' >&2\0"
/* 1039 */ "echo 'Warning: Cannot suppress the loading of options files' >&2\0"
/* 1105 */ "<%1$s type=integer>0x%2$lX</%1$s>\n\0"
/* 1140 */ "%1$s_%2$s_TEXT='no %2$s text'\n\0"
/* 1171 */ "%1$s_%2$s_MODE='%3$s'\n"
"export %1$s_%2$s_MODE\n\0"
/* 1216 */ "%1$s_%2$s='%3$s'\n"
"export %1$s_%2$s\n\0"
/* 1251 */ "%1$s_%2$s_CT=%3$d\n"
"export %1$s_%2$s_CT\n\0"
/* 1290 */ "OPTION_CT=%d\n"
"export OPTION_CT\n\0"
/* 1321 */ "%1$s_%2$s=%3$s\n"
"export %1$s_%2$s\n\0"
/* 1354 */ "%1$s_%2$s=%3$d # 0x%3$X\n"
"export %1$s_%2$s\n\0"
/* 1396 */ " case \"${OPT_CODE}\" in\n\0"
/* 1427 */ " if [ $%1$s_%2$s_CT -gt %3$u ] ; then\n"
" echo 'Error: more than %3$d %2$s options'\n"
" echo \"$%1$s_USAGE_TEXT\"\n"
" exit 1\n"
" fi >&2\n\0"
/* 1618 */ "test ${%1$s_%2$s_CT-0} -ge %3$u || {\n"
" echo %1$s_%2$s has not been set\n"
" exit 1\n"
"} 1>&2\n\0"
/* 1710 */ "test -n \"$%1$s_%2$s\" || {\n"
" echo %1$s_%2$s has not been set\n"
" exit 1\n"
"} 1>&2\n\0"
/* 1791 */ " echo \"$%s_%s_TEXT\"\n"
" exit 0\n\0"
/* 1842 */ "\n"
"# # # # # # # # # #\n"
"#\n"
"# END OF AUTOMATED OPTION PROCESSING\n"
"#\n"
"# # # # # # # # # # -- do not modify this marker --\n\0"
/* 1958 */ " if [ -n \"${OPT_ARG_VAL}\" ]\n"
" then\n"
" eval %1$s_${OPT_NAME}${OPT_ELEMENT}=\"'${OPT_ARG_VAL}'\"\n"
" export %1$s_${OPT_NAME}${OPT_ELEMENT}\n"
" fi\n"
"done\n"
"OPTION_COUNT=`expr $ARG_COUNT - $#`\n"
"OPERAND_COUNT=$#\n"
"unset OPT_PROCESS || :\n"
"unset OPT_ELEMENT || :\n"
"unset OPT_ARG || :\n"
"unset OPT_ARG_NEEDED || :\n"
"unset OPT_NAME || :\n"
"unset OPT_CODE || :\n"
"unset OPT_ARG_VAL || :\n\0"
/* 2337 */ " OPT_CODE=`echo \"X${OPT_ARG}\"|sed 's/^X-*//'`\n"
" shift\n"
" OPT_ARG=$1\n"
" case \"${OPT_CODE}\" in *=* )\n"
" OPT_ARG_VAL=`echo \"${OPT_CODE}\"|sed 's/^[^=]*=//'`\n"
" OPT_CODE=`echo \"${OPT_CODE}\"|sed 's/=.*$//'` ;; esac\n\0"
/* 2588 */ " OPT_CODE=`echo \"X${OPT_ARG}\" | sed 's/X-\\(.\\).*/\\1/'`\n"
" OPT_ARG=` echo \"X${OPT_ARG}\" | sed 's/X-.//'`\n\0"
/* 2705 */ "\n"
"ARG_COUNT=$#\n"
"OPT_PROCESS=true\n"
"OPT_ARG=$1\n"
"while ${OPT_PROCESS} && [ $# -gt 0 ]\n"
"do\n"
" OPT_ELEMENT=''\n"
" OPT_ARG_VAL=''\n\n"
" case \"${OPT_ARG}\" in\n"
" -- )\n"
" OPT_PROCESS=false\n"
" shift\n"
" ;;\n\0"
/* 2912 */ " case \"${OPT_ARG_NEEDED}\" in\n"
" NO )\n"
" OPT_ARG_VAL=''\n"
" ;;\n"
" YES )\n"
" if [ -z \"${OPT_ARG_VAL}\" ]\n"
" then\n"
" if [ $# -eq 0 ]\n"
" then\n"
" echo No argument provided for ${OPT_NAME} option\n"
" echo \"$%s_USAGE_TEXT\"\n"
" exit 1\n"
" fi >&2\n"
" OPT_ARG_VAL=${OPT_ARG}\n"
" shift\n"
" OPT_ARG=$1\n"
" fi\n"
" ;;\n"
" OK )\n"
" if [ -z \"${OPT_ARG_VAL}\" ] && [ $# -gt 0 ]\n"
" then\n"
" case \"${OPT_ARG}\" in -* ) ;; * )\n"
" OPT_ARG_VAL=${OPT_ARG}\n"
" shift\n"
" OPT_ARG=$1 ;; esac\n"
" fi\n"
" ;;\n"
" esac\n\0"
/* 3691 */ " %1$s_%2$s_CT=`expr ${%1$s_%2$s_CT} + 1`\n"
" OPT_ELEMENT=\"_${%1$s_%2$s_CT}\"\n"
" OPT_NAME='%2$s'\n\0"
/* 3815 */ "\n"
"if test -z \"${%1$s_%2$s}\"\n"
"then\n"
" %1$s_%2$s_CT=0\n"
" export %1$s_%2$s_CT\n"
"else\n"
" %1$s_%2$s_CT=1\n"
" %1$s_%2$s_1=${%1$s_%2$s}\n"
" export %1$s_%2$s_CT %1$s_%2$s_1\n"
"fi\n\0"
/* 3973 */ " * )\n"
" OPT_PROCESS=false\n"
" ;;\n"
" esac\n\0"
/* 4030 */ " %1$s_%2$s_CT=0\n"
" OPT_ELEMENT=''\n"
" %1$s_%2$s='%3$s'\n"
" export %1$s_%2$s\n"
" OPT_NAME='%2$s'\n\0"
/* 4171 */ " if [ -n \"${%1$s_%2$s}\" ] && ${%1$s_%2$s_set} ; then\n"
" echo 'Error: duplicate %2$s option'\n"
" echo \"$%1$s_USAGE_TEXT\"\n"
" exit 1\n"
" fi >&2\n"
" %1$s_%2$s_set=true\n"
" %1$s_%2$s='%3$s'\n"
" export %1$s_%2$s\n"
" OPT_NAME='%2$s'\n\0"
/* 4488 */ "\n"
"ARG_COUNT=$#\n"
"OPT_ARG=$1\n"
"while [ $# -gt 0 ]\n"
"do\n"
" OPT_ELEMENT=''\n"
" OPT_ARG_VAL=''\n"
" OPT_ARG=${1}\n\0"
/* 4591 */ " case \"${OPT_ARG_NEEDED}\" in\n"
" NO )\n"
" if [ -n \"${OPT_ARG}\" ]\n"
" then\n"
" OPT_ARG=-${OPT_ARG}\n"
" else\n"
" shift\n"
" OPT_ARG=$1\n"
" fi\n"
" ;;\n"
" YES )\n"
" if [ -n \"${OPT_ARG}\" ]\n"
" then\n"
" OPT_ARG_VAL=${OPT_ARG}\n"
" else\n"
" if [ $# -eq 0 ]\n"
" then\n"
" echo No argument provided for ${OPT_NAME} option\n"
" echo \"$%s_USAGE_TEXT\"\n"
" exit 1\n"
" fi >&2\n"
" shift\n"
" OPT_ARG_VAL=$1\n"
" fi\n"
" shift\n"
" OPT_ARG=$1\n"
" ;;\n"
" OK )\n"
" if [ -n \"${OPT_ARG}\" ]\n"
" then\n"
" OPT_ARG_VAL=${OPT_ARG}\n"
" shift\n"
" OPT_ARG=$1\n"
" else\n"
" shift\n"
" if [ $# -gt 0 ]\n"
" then\n"
" case \"$1\" in -* ) ;; * )\n"
" OPT_ARG_VAL=$1\n"
" shift ;; esac\n"
" OPT_ARG=$1\n"
" fi\n"
" fi\n"
" ;;\n"
" esac\n\0"
/* 5745 */ " echo \"$%s_LONGUSAGE_TEXT\" | ${PAGER-more}\n"
" exit 0\n\0"
/* 5819 */ "%s OF %s\n"
"#\n"
"# From here to the next `-- do not modify this marker --',\n"
"# the text has been generated %s\n\0"
/* 5925 */ " eval %1$s_%2$s${OPT_ELEMENT}=true\n"
" export %1$s_%2$s${OPT_ELEMENT}\n\0"
/* 6015 */ " if [ -n \"${%1$s_%2$s}\" ] && ${%1$s_%2$s_set} ; then\n"
" echo 'Error: duplicate %2$s option'\n"
" echo \"$%1$s_USAGE_TEXT\"\n"
" exit 1\n"
" fi >&2\n"
" %1$s_%2$s_set=true\n"
" OPT_NAME='%2$s'\n\0"
/* 6274 */ "\n"
"%1$s_%2$s=${%1$s_%2$s-'%3$s'}\n"
"%1$s_%2$s_set=false\n"
"export %1$s_%2$s\n\0"
/* 6343 */ "\n"
"%1$s_%2$s=${%1$s_%2$s}\n"
"%1$s_%2$s_set=false\n"
"export %1$s_%2$s\n\0"
/* 6405 */ "# # # # # # # # # # -- do not modify this marker --\n"
"#\n"
"# DO NOT EDIT THIS SECTION\n\0"
/* 6488 */ " * )\n"
" echo Unknown %s: \"${OPT_CODE}\" >&2\n"
" echo \"$%s_USAGE_TEXT\" >&2\n"
" exit 1\n"
" ;;\n"
" esac\n";
/* end of ao-strs.c */
|