1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (ao-strs.c)
5 * It has been AutoGen-ed May 6, 2012 at 04:20:58 PM by AutoGen 5.16pre36
6 * From the definitions ao-strs.def
7 * and the template file strings
9 * Copyright (C) 2011-2012 Bruce Korb, all rights reserved.
10 * This is free software. It is licensed for use, modification and
11 * redistribution under the terms of the
12 * Modified (3 clause) Berkeley Software Distribution License
13 * <http://www.xfree86.org/3.3.6/COPYRIGHT2.html>
15 * Redistribution and use in source and binary forms, with or without
16 * modification, are permitted provided that the following conditions
18 * 1. Redistributions of source code must retain the above copyright
19 * notice, this list of conditions and the following disclaimer.
20 * 2. Redistributions in binary form must reproduce the above copyright
21 * notice, this list of conditions and the following disclaimer in the
22 * documentation and/or other materials provided with the distribution.
23 * 3. Neither the name ``Bruce Korb'' nor the name of any other
24 * contributor may be used to endorse or promote products derived
25 * from this software without specific prior written permission.
27 * strings IS PROVIDED BY Bruce Korb ``AS IS'' AND ANY EXPRESS
28 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
29 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30 * ARE DISCLAIMED. IN NO EVENT SHALL Bruce Korb OR ANY OTHER CONTRIBUTORS
31 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
33 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
34 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
35 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
36 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
37 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41 char const ao_strs_strtable
[6266] =
44 /* 6 */ "INVALID-%d\0"
45 /* 17 */ "*INVALID*\0"
51 /* 50 */ "/tmp/use.%lu\0"
60 /* 118 */ "%A %B %e, %Y at %r %Z\0"
68 /* 180 */ "%s_%s_%d=\0"
76 /* 240 */ "=%1$lu # 0x%1$lX\n\0"
80 /* 277 */ "OPT_ARG_NEEDED=OK\0"
81 /* 295 */ "OPT_ARG_NEEDED=NO\0"
82 /* 313 */ "OPT_ARG_NEEDED=YES\0"
83 /* 332 */ "LONGUSAGE\0"
85 /* 347 */ "%s_%s_TEXT='\0"
89 "env | grep '^%s_'\n\0"
92 /* 401 */ "\t\t\t\t- \0"
93 /* 408 */ "\t\t\t\t \0"
96 " OPT_PROCESS=false\n"
101 /* 487 */ "%1$s /tmp/use.%2$lu ; rm -f /tmp/use.%2$lu\0"
102 /* 530 */ "# # # # # # # # # # -- do not modify this marker --\n"
104 "# DO NOT EDIT THIS SECTION\n\0"
105 /* 613 */ "%s OF %s\n"
107 "# From here to the next `-- do not modify this marker --',\n"
108 "# the text has been generated %s\n\0"
109 /* 719 */ "# From the %s option definitions\n"
112 "if test -z \"${%1$s_%2$s}\"\n"
117 " %1$s_%2$s_1=${%1$s_%2$s}\n"
119 "export %1$s_%2$s_CT\0"
121 "%1$s_%2$s=${%1$s_%2$s-'%3$s'}\n"
122 "%1$s_%2$s_set=false\n"
125 "%1$s_%2$s=${%1$s_%2$s}\n"
126 "%1$s_%2$s_set=false\n"
127 "export %1$s_%2$s\n\0"
131 "while ${OPT_PROCESS} && [ $# -gt 0 ]\n"
134 " OPT_ARG_VAL=''\n\n"
135 " case \"${OPT_ARG}\" in\n"
137 " OPT_PROCESS=false\n"
142 "while [ $# -gt 0 ]\n"
147 /* 1291 */ " if [ -n \"${OPT_ARG_VAL}\" ]\n"
149 " eval %1$s_${OPT_NAME}${OPT_ELEMENT}=\"'${OPT_ARG_VAL}'\"\n"
150 " export %1$s_${OPT_NAME}${OPT_ELEMENT}\n"
153 "unset OPT_PROCESS || :\n"
154 "unset OPT_ELEMENT || :\n"
155 "unset OPT_ARG || :\n"
156 "unset OPT_ARG_NEEDED || :\n"
157 "unset OPT_NAME || :\n"
158 "unset OPT_CODE || :\n"
159 "unset OPT_ARG_VAL || :\n"
162 "# # # # # # # # # #\n"
164 "# END OF AUTOMATED OPTION PROCESSING\n"
166 "# # # # # # # # # # -- do not modify this marker --\n\0"
167 /* 1737 */ " case \"${OPT_CODE}\" in\n\0"
168 /* 1768 */ " '%s' | \\\n\0"
169 /* 1786 */ " '%s' )\n\0"
170 /* 1802 */ " '%c' )\n\0"
171 /* 1818 */ " ;;\n\n\0"
173 " echo Unknown %s: \"${OPT_CODE}\" >&2\n"
174 " echo \"$%s_USAGE_TEXT\"\n"
178 /* 1977 */ " echo \"$%s_%s_TEXT\"\n"
180 /* 2028 */ " echo \"$%s_LONGUSAGE_TEXT\" | ${PAGER-more}\n"
183 /* 2118 */ " if [ $%1$s_%2$s_CT -ge %3$d ] ; then\n"
184 " echo Error: more than %3$d %2$s options >&2\n"
185 " echo \"$%1$s_USAGE_TEXT\"\n"
187 /* 2297 */ " %1$s_%2$s_CT=`expr ${%1$s_%2$s_CT} + 1`\n"
188 " OPT_ELEMENT=\"_${%1$s_%2$s_CT}\"\n"
189 " OPT_NAME='%2$s'\n\0"
190 /* 2421 */ " if [ -n \"${%1$s_%2$s}\" ] && ${%1$s_%2$s_set} ; then\n"
191 " echo Error: duplicate %2$s option >&2\n"
192 " echo \"$%1$s_USAGE_TEXT\"\n"
194 " %1$s_%2$s_set=true\n"
195 " OPT_NAME='%2$s'\n\0"
196 /* 2668 */ " %1$s_%2$s_CT=0\n"
198 " %1$s_%2$s='%3$s'\n"
199 " export %1$s_%2$s\n"
200 " OPT_NAME='%2$s'\n\0"
201 /* 2809 */ " if [ -n \"${%1$s_%2$s}\" ] && ${%1$s_%2$s_set} ; then\n"
202 " echo 'Error: duplicate %2$s option' >&2\n"
203 " echo \"$%1$s_USAGE_TEXT\"\n"
205 " %1$s_%2$s_set=true\n"
206 " %1$s_%2$s='%3$s'\n"
207 " export %1$s_%2$s\n"
208 " OPT_NAME='%2$s'\n\0"
209 /* 3116 */ " eval %1$s_%2$s${OPT_ELEMENT}=true\n"
210 " export %1$s_%2$s${OPT_ELEMENT}\n"
211 " OPT_ARG_NEEDED=OK\n\0"
212 /* 3236 */ " OPT_ARG_NEEDED=YES\n\0"
213 /* 3268 */ " eval %1$s_%2$s${OPT_ELEMENT}=true\n"
214 " export %1$s_%2$s${OPT_ELEMENT}\n"
215 " OPT_ARG_NEEDED=NO\n\0"
216 /* 3388 */ " OPT_CODE=`echo \"X${OPT_ARG}\"|sed 's/^X-*//'`\n"
219 " case \"${OPT_CODE}\" in *=* )\n"
220 " OPT_ARG_VAL=`echo \"${OPT_CODE}\"|sed 's/^[^=]*=//'`\n"
221 " OPT_CODE=`echo \"${OPT_CODE}\"|sed 's/=.*$//'` ;; esac\n\0"
222 /* 3639 */ " case \"${OPT_ARG_NEEDED}\" in\n"
227 " if [ -z \"${OPT_ARG_VAL}\" ]\n"
231 " echo No argument provided for ${OPT_NAME} option >&2\n"
232 " echo \"$%s_USAGE_TEXT\"\n"
235 " OPT_ARG_VAL=${OPT_ARG}\n"
241 " if [ -z \"${OPT_ARG_VAL}\" ] && [ $# -gt 0 ]\n"
243 " case \"${OPT_ARG}\" in -* ) ;; * )\n"
244 " OPT_ARG_VAL=${OPT_ARG}\n"
246 " OPT_ARG=$1 ;; esac\n"
250 /* 4418 */ " OPT_CODE=`echo \"X${OPT_ARG}\" | sed 's/X-\\(.\\).*/\\1/'`\n"
251 " OPT_ARG=` echo \"X${OPT_ARG}\" | sed 's/X-.//'`\n\0"
252 /* 4535 */ " case \"${OPT_ARG_NEEDED}\" in\n"
254 " if [ -n \"${OPT_ARG}\" ]\n"
256 " OPT_ARG=-${OPT_ARG}\n"
263 " if [ -n \"${OPT_ARG}\" ]\n"
265 " OPT_ARG_VAL=${OPT_ARG}\n"
269 " echo No argument provided for ${OPT_NAME} option >&2\n"
270 " echo \"$%s_USAGE_TEXT\"\n"
280 " if [ -n \"${OPT_ARG}\" ]\n"
282 " OPT_ARG_VAL=${OPT_ARG}\n"
289 " case \"$1\" in -* ) ;; * )\n"
297 /* 5689 */ "%1$s_%2$s=%3$d # 0x%3$X\n"
298 "export %1$s_%2$s\n\0"
299 /* 5731 */ "%1$s_%2$s_CT=%3$d\n"
300 "export %1$s_%2$s_CT\n\0"
301 /* 5770 */ "OPTION_CT=%d\n"
302 "export OPTION_CT\n\0"
303 /* 5801 */ "%1$s_%2$s=%3$s\n"
304 "export %1$s_%2$s\n\0"
305 /* 5834 */ "%1$s_%2$s='%3$s'\n"
306 "export %1$s_%2$s\n\0"
307 /* 5869 */ "%1$s_%2$s_MODE='%3$s'\n"
308 "export %1$s_%2$s_MODE\n\0"
309 /* 5914 */ "echo 'Warning: Cannot load options files' >&2\0"
310 /* 5961 */ "echo 'Warning: Cannot save options files' >&2\0"
311 /* 6008 */ "echo 'Warning: Cannot suppress the loading of options files' >&2\0"
312 /* 6074 */ "%1$s_%2$s_TEXT='no %2$s text'\n\0"
313 /* 6105 */ "%s WARNING: cannot save options - \0"
314 /* 6141 */ "<%s/>\n\0"
316 /* 6153 */ "</%s>\n\0"
317 /* 6160 */ "<%s type=%s>\0"
318 /* 6173 */ "<%s type=nested>\n\0"
319 /* 6191 */ "#x%02X;\0"
320 /* 6199 */ "<%1$s type=boolean>%2$s</%1$s>\n\0"
321 /* 6231 */ "<%1$s type=integer>0x%2$lX</%1$s>\n";
323 /* end of ao-strs.c */