pogrep1
Grep xliff, gettext po and tmx localization files.
Usage
pogrep [--version]
[{-h | --help}]
[--manpage]
[--progress
PROGRESS]
[--errorlevel
ERRORLEVEL]
[{-i | --input}]
INPUT
[{-x | --exclude
EXCLUDE}]
[{-o | --output}]
OUTPUT
[--search
SEARCHPARTS]
[{-I | --ignore-case}]
[{-e | --regexp}]
[{-v | --invert-match}]
[--accelerator
ACCELERATOR]
[{-k | --keep-translations}]
Overview
Matches are output to snippet files of the same type which can then be reviewed and later merged using :doc:`pomerge </commands/pomerge>`.
See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pogrep.html for examples and usage instructions.
Options
-
--version -
show program's version number and exit
- -h/--help
-
show this help message and exit
-
--manpage -
output a manpage based on the help
-
--progress -
show progress as: dots, none, bar, names, verbose
-
--errorlevel -
show errorlevel as: none, message, exception, traceback
- -i/--input
-
read from INPUT in gmo, mo, po, pot, tmx, xlf, xlff, xliff formats
- -x/--exclude
-
exclude names matching EXCLUDE from input paths
- -o/--output
-
write to OUTPUT in gmo, mo, po, pot, tmx, xlf, xlff, xliff formats
-
--search -
searches the given parts (source, target, notes and locations)
- -I/--ignore-case
-
ignore case distinctions
- -e/--regexp
-
use regular expression matching
- -v/--invert-match
-
select non-matching lines
-
--accelerator -
ignores the given accelerator when matching
- -k/--keep-translations
-
always extract units with translations
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
--header until Debian 5.0 (Lenny);
--psyco until Debian 5.0 (Lenny).