pogrep/README.md

19 lines
530 B
Markdown
Raw Normal View History

2019-11-01 19:22:22 +00:00
# pogrep
Searches for string in po files. *popgrep* supports various *GNU grep* options
to ease its use.
2019-11-01 19:22:22 +00:00
# Examples
2019-11-01 19:22:22 +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 `