2019-11-01 19:22:22 +00:00
|
|
|
# pogrep
|
|
|
|
|
2020-05-20 22:05:09 +00:00
|
|
|
Searches for string in po files. *popgrep* supports various *GNU grep* options
|
|
|
|
to ease its use.
|
2019-11-01 19:22:22 +00:00
|
|
|
|
2020-05-20 22:05:09 +00:00
|
|
|
# Examples
|
2019-11-01 19:22:22 +00:00
|
|
|
|
2020-05-20 22:05:09 +00:00
|
|
|
Print usage: `pogrep --help`
|
|
|
|
|
|
|
|
Find how 'flavors' has already been translated: search recursively in the
|
|
|
|
current directory, show the names of the matching files, excluding the venv
|
|
|
|
directory which contains a virtual env:
|
|
|
|
|
|
|
|
`pogrep --recursive --line-number --exclude-dir venv flavor `
|
|
|
|
|
|
|
|
Search the word 'typo' in traductions, but not in sources:
|
|
|
|
|
|
|
|
`pogrep --recursive --translation --no-source --word-regexp typo `
|