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
|
/* Automatically generated by po2tbl.sed from grep.pot. */
#if HAVE_CONFIG_H
# include <config.h>
#endif
#include "libgettext.h"
const struct _msg_ent _msg_tbl[] = {
{"", 1},
{"Memory exhausted", 2},
{"Unbalanced [", 3},
{"Unfinished \\ escape", 4},
{"unfinished repeat count", 5},
{"malformed repeat count", 6},
{"Unbalanced (", 7},
{"No syntax specified", 8},
{"Unbalanced )", 9},
{"out of memory", 10},
{"memory exhausted", 11},
{"invalid context length argument", 12},
{"input is too large to count", 13},
{"writing output", 14},
{"Binary file %s matches\n", 15},
{"(standard input)", 16},
{"warning: %s: %s\n", 17},
{"recursive directory loop", 18},
{"Usage: %s [OPTION]... PATTERN [FILE]...\n", 19},
{"Try `%s --help' for more information.\n", 20},
{"Usage: %s [OPTION]... PATTERN [FILE] ...\n", 21},
{"\
Search for PATTERN in each FILE or standard input.\n\
Example: %s -i 'hello world' menu.h main.c\n\
\n\
Regexp selection and interpretation:\n", 22},
{"\
-E, --extended-regexp PATTERN is an extended regular expression\n\
-F, --fixed-strings PATTERN is a set of newline-separated strings\n\
-G, --basic-regexp PATTERN is a basic regular expression\n\
-P, --perl-regexp PATTERN is a Perl regular expression\n", 23},
{"\
-e, --regexp=PATTERN use PATTERN as a regular expression\n\
-f, --file=FILE obtain PATTERN from FILE\n\
-i, --ignore-case ignore case distinctions\n\
-w, --word-regexp force PATTERN to match only whole words\n\
-x, --line-regexp force PATTERN to match only whole lines\n\
-z, --null-data a data line ends in 0 byte, not newline\n", 24},
{"\
\n\
Miscellaneous:\n\
-s, --no-messages suppress error messages\n\
-v, --invert-match select non-matching lines\n\
-V, --version print version information and exit\n\
--help display this help and exit\n\
--mmap use memory-mapped input if possible\n", 25},
{"\
\n\
Output control:\n\
-m, --max-count=NUM stop after NUM matches\n\
-b, --byte-offset print the byte offset with output lines\n\
-n, --line-number print line number with output lines\n\
--line-buffered flush output on every line\n\
-H, --with-filename print the filename for each match\n\
-h, --no-filename suppress the prefixing filename on output\n\
-q, --quiet, --silent suppress all normal output\n\
--binary-files=TYPE assume that binary files are TYPE\n\
TYPE is 'binary', 'text', or 'without-match'\n\
-a, --text equivalent to --binary-files=text\n\
-I equivalent to --binary-files=without-match\n\
-d, --directories=ACTION how to handle directories\n\
ACTION is 'read', 'recurse', or 'skip'\n\
-D, --devices=ACTION how to handle devices, FIFOs and sockets\n\
ACTION is 'read' or 'skip'\n\
-R, -r, --recursive equivalent to --directories=recurse\n\
--include=PATTERN files that match PATTERN will be examined\n\
--exclude=PATTERN files that match PATTERN will be skipped.\n\
--exclude-from=FILE files that match PATTERN in FILE will be \
skipped.\n\
-L, --files-without-match only print FILE names containing no match\n\
-l, --files-with-matches only print FILE names containing matches\n\
-c, --count only print a count of matching lines per FILE\n\
-Z, --null print 0 byte after FILE name\n", 26},
{"\
\n\
Context control:\n\
-B, --before-context=NUM print NUM lines of leading context\n\
-A, --after-context=NUM print NUM lines of trailing context\n\
-C, --context=NUM print NUM lines of output context\n\
-NUM same as --context=NUM\n\
--color[=WHEN],", 27},
{"\
\n\
Report bugs to <bug-gnu-utils@gnu.org>.\n", 28},
{"conflicting matchers specified", 29},
{"unknown devices method", 30},
{"unknown directories method", 31},
{"invalid max count", 32},
{"unknown binary-files type", 33},
{"%s (GNU grep) %s\n", 34},
{"Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.\n", 35},
{"\
This is free software; see the source for copying conditions. There is NO\n\
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n", 36},
{"The -P option is not supported", 37},
{"The -P and -z options cannot be combined", 38},
{"Unknown system error", 39},
{"%s: option `%s' is ambiguous\n", 40},
{"%s: option `--%s' doesn't allow an argument\n", 41},
{"%s: option `%c%s' doesn't allow an argument\n", 42},
{"%s: option `%s' requires an argument\n", 43},
{"%s: unrecognized option `--%s'\n", 44},
{"%s: unrecognized option `%c%s'\n", 45},
{"%s: illegal option -- %c\n", 46},
{"%s: invalid option -- %c\n", 47},
{"%s: option requires an argument -- %c\n", 48},
{"%s: option `-W %s' is ambiguous\n", 49},
{"%s: option `-W %s' doesn't allow an argument\n", 50},
{"`", 51},
{"'", 52},
};
int _msg_tbl_length = 52;
|