| 224 | |
| 225 | |
| 226 | void |
| 227 | usage (int status) |
| 228 | { |
| 229 | if (status != EXIT_SUCCESS) |
| 230 | emit_try_help (); |
| 231 | else |
| 232 | { |
| 233 | printf (_("\ |
| 234 | Usage: %s EXPRESSION\n\ |
| 235 | or: %s OPTION\n\ |
| 236 | "), |
| 237 | program_name, program_name); |
| 238 | putchar ('\n'); |
| 239 | oputs (HELP_OPTION_DESCRIPTION); |
| 240 | oputs (VERSION_OPTION_DESCRIPTION); |
| 241 | fputs (_("\ |
| 242 | \n\ |
| 243 | Print the value of EXPRESSION to standard output. A blank line below\n\ |
| 244 | separates increasing precedence groups. EXPRESSION may be:\n\ |
| 245 | \n\ |
| 246 | ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2\n\ |
| 247 | \n\ |
| 248 | ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0\n\ |
| 249 | "), stdout); |
| 250 | fputs (_("\ |
| 251 | \n\ |
| 252 | ARG1 < ARG2 ARG1 is less than ARG2\n\ |
| 253 | ARG1 <= ARG2 ARG1 is less than or equal to ARG2\n\ |
| 254 | ARG1 = ARG2 ARG1 is equal to ARG2\n\ |
| 255 | ARG1 != ARG2 ARG1 is unequal to ARG2\n\ |
| 256 | ARG1 >= ARG2 ARG1 is greater than or equal to ARG2\n\ |
| 257 | ARG1 > ARG2 ARG1 is greater than ARG2\n\ |
| 258 | "), stdout); |
| 259 | fputs (_("\ |
| 260 | \n\ |
| 261 | ARG1 + ARG2 arithmetic sum of ARG1 and ARG2\n\ |
| 262 | ARG1 - ARG2 arithmetic difference of ARG1 and ARG2\n\ |
| 263 | "), stdout); |
| 264 | /* Tell xgettext that the "% A" below is not a printf-style |
| 265 | format string: xgettext:no-c-format */ |
| 266 | fputs (_("\ |
| 267 | \n\ |
| 268 | ARG1 * ARG2 arithmetic product of ARG1 and ARG2\n\ |
| 269 | ARG1 / ARG2 arithmetic quotient of ARG1 divided by ARG2\n\ |
| 270 | ARG1 % ARG2 arithmetic remainder of ARG1 divided by ARG2\n\ |
| 271 | "), stdout); |
| 272 | fputs (_("\ |
| 273 | \n\ |
| 274 | STRING : REGEXP anchored pattern match of REGEXP in STRING\n\ |
| 275 | \n\ |
| 276 | match STRING REGEXP same as STRING : REGEXP\n\ |
| 277 | substr STRING POS LENGTH substring of STRING, POS counted from 1\n\ |
| 278 | index STRING CHARS index in STRING where any CHARS is found, or 0\n\ |
| 279 | length STRING length of STRING\n\ |
| 280 | "), stdout); |
| 281 | fputs (_("\ |
| 282 | + TOKEN interpret TOKEN as a string, even if it is a\n\ |
| 283 | keyword like 'match' or an operator like '/'\n\ |
no test coverage detected