pogrep(1)
πΈ pogrep(1) β bestie edition πΈ
okay so, real talk: this is the manual page for pogrep, part of the Translate Toolkit (we're on version 3.19.5, bestie, keep up π
). If you've ever been like "where did that ONE string go in my million-file localization project", this is your girl. She greps XLIFF, Gettext PO and TMX localization files. No cap. π¦
β¨ NAME β¨
pogrep β Grep XLIFF, Gettext PO and TMX localization files. that's it, that's the whole vibe. ππ
β¨ SYNOPSIS β¨
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]
look at all those flags, she's giving main character energy fr fr π
β¨ DESCRIPTION β¨
so the way this works: when pogrep finds matches, it writes them out to snippet files of the same type. You can peek at those snippets, vibe check them, review them, and then later merge them back in with pomerge. Clean hands, no messy conflicts, iconic. π
the original doc ref for that merge step literally says: :doc:pomerge </commands/pomerge>`` β keep it in mind, iykyk.
and if you want examples + usage instructions, the toolkit points you to:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pogrep.html
go read it, it's giving very helpful π«Ά
β¨ OPTIONS β¨
one bullet per flag, no skipping, we do NOT leave anyone on read π
--versionβ show the program's version number, then dip. π-h,--helpβ show this help message and exit. your lil rescue button.--manpageβ output a manpage based on the help. manpage-ception, obsessed. π§--progress PROGRESSβ show progress as:dots,none,bar,names,verbose. pick your aesthetic.--errorlevel ERRORLEVELβ show errorlevel as:none,message,exception,traceback. how much drama do you want when things go wrong π-i,--input INPUTβ read from INPUT ingmo,mo,po,pot,tmx,xlf,xlff,xliffformats. that's the whole roster, periodt.-x,--exclude EXCLUDEβ exclude names matching EXCLUDE from input paths. not today, folder. π-o,--output OUTPUTβ write to OUTPUT ingmo,mo,po,pot,tmx,xlf,xlff,xliffformats. same roster, now as the output side β¨--search SEARCHPARTSβ searches the given parts (source,target,notesandlocations). you choose where she looks. π-I,--ignore-caseβ ignore case distinctions.Helloandhelloare the same girl to her.-e,--regexpβ use regular expression matching. yes, the spicy kind π₯-v,--invert-matchβ select non-matching lines. the chaotic flip, love that for you π--accelerator ACCELERATORβ ignores the given accelerator when matching. keyboard-shortcut erasure, but make it intentional πΉ-k,--keep-translationsβ always extract units with translations. no unit left behind, bestie. π
π and that's the page π
that was pogrep from the Translate Toolkit 3.19.5 β one manual page, fully slayed. go grep something, you're gonna eat. π
β¨π
pogrep(1) β Translate Toolkit 3.19.5 β periodt. π«Ά
π¦ where this page comes from
- ubuntu stonking: translate-toolkit 3.19.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms