Viewing file: msggrep.1.html (17.58 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
MSGGREP
MSGGREP
NAME
SYNOPSIS
DESCRIPTION
AUTHOR
REPORTING BUGS
COPYRIGHT
SEE ALSO
NAME
|
msggrep - pattern matching on message catalog |
SYNOPSIS
|
msggrep [OPTION]
[INPUTFILE] |
DESCRIPTION
|
Extracts all messages of a translation catalog that match a
given pattern or belong to some given source
files. |
|
Mandatory arguments to long options are mandatory for short
options too. |
|
-D, --directory=DIRECTORY |
|
add DIRECTORY to list for input files search |
|
If no input file is given or if it is -, standard input is
read. |
|
write output to specified file |
|
The results are written to standard output if no output file
is specified or if it is -. |
|
[-N SOURCEFILE]... [-M DOMAINNAME]... [-K MSGID-PATTERN] [-T
MSGSTR-PATTERN] [-C COMMENT-PATTERN] |
|
A message is selected if it comes from one of the specified
source files, or if it comes from one of the specified
domains, or if -K is given and its key (msgid or
msgid_plural) matches MSGID-PATTERN, or if -T is
given and its translation (msgstr) matches MSGSTR-PATTERN,
or if -C is given and the translator's comment
matches COMMENT-PATTERN. |
|
When more than one selection criterion is specified, the set
of selected messages is the union of the selected messages
of each criterion. |
|
MSGID-PATTERN or MSGSTR-PATTERN syntax: |
|
[-E | -F] [-e PATTERN | -f
FILE]... |
|
PATTERNs are basic regular expressions by default, or
extended regular expressions if -E is given, or fixed
strings if -F is given. |
|
-N, --location=SOURCEFILE |
|
select messages extracted from SOURCEFILE |
|
select messages belonging to domain DOMAINNAME |
|
start of patterns for the msgid |
|
start of patterns for the msgstr |
|
PATTERN is an extended regular expression |
|
PATTERN is a set of newline-separated strings |
|
use PATTERN as a regular expression |
|
do not use C escapes in output (default) |
|
use C escapes in output, no extended chars |
|
write PO file even if empty |
|
suppress '#: filename:line' lines |
|
preserve '#: filename:line' lines (default) |
|
strict Uniforum output style |
|
do not break long message lines, longer than the output page
width, into several lines |
|
sort output by file location |
|
display this help and exit |
|
output version information and exit |
AUTHOR
REPORTING BUGS
|
Report bugs to <bug-gnu-gettext@gnu.org>. |
COPYRIGHT
|
Copyright 2001-2002 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions. There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. |
SEE ALSO
|
The full documentation for msggrep is maintained as a
Texinfo manual. If the info and msggrep
programs are properly installed at your site, the
command |
|
should give you access to the complete manual. |
|