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 in gmo, mo, po, pot, tmx, xlf, xlff, xliff formats. 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 in gmo, mo, po, pot, tmx, xlf, xlff, xliff formats. same roster, now as the output side ✨
  • --search SEARCHPARTS β€” searches the given parts (source, target, notes and locations). you choose where she looks. πŸ‘€
  • -I, --ignore-case β€” ignore case distinctions. Hello and hello are 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