pocount(1)
πΈ NAME πΈ
okay so bestie, meet pocount π She produces word counts and other statistics from a PO file. That's her whole thing. This is the manual page for pocount(1), and she's lowkey iconic for it. π
β¨ SYNOPSIS β¨
pocount [--csv] [directory|file(s)]
π¦ DESCRIPTION π¦
pocount will count the number of strings and words in a PO file. No cap, that's the main character energy. β¨
If no files or directories argument are provided, pocount will recurse through all files from the current directory. Otherwise, it will recurse and count all files in the specified directory or in the specified PO files. She's thorough, she's committed, she's fr fr doing the most in the best way. π«Ά
π OPTIONS π
--csvβ changes the output format to CSV (Comma Separated Values) for import into a spreadsheet. Spreadsheet girlies, this one is for you. π
π₯ OUTPUT π₯
In normal mode the following output is given:
avmedia/source/viewer.po
type strings words (source) words (translation)
translated: 1 3 3
fuzzy: 0 0 n/a
untranslated: 4 22 n/a
Total: 5 25 3
review 1 3 n/a
In CSV mode the following output is shown:
Filename, Translated Messages, Translated Source Words, Translated
Target Words, Fuzzy Messages, Fuzzy Source Words, Untranslated Messages,
Untranslated Source Words, Review Messages, Review Source Words
avmedia/source/viewer.po, 1, 3, 3, 0, 0, 4, 22, 1, 3
Totals are not provided in CSV mode. In normal mode a grand total and file count is provided if the number of files is greater than one. So if you've got multiple files, she's giving you the full recap. π
π BUGS π
There are some miscounts related to word breaks. Not me pretending that's fine, because it's literally a bug note, but we move. π
That's the whole vibe, bestie. This was pocount(1) from Translate Toolkit 1.3.0 β no date in the footer, so that's the sign-off we got. Stay counting, slay, periodt. πβ¨
π¦ where this page comes from
- debian bookworm: translate-toolkit 3.8.4-1 Β· GPL-2.0-or-later
- debian trixie: translate-toolkit 3.15.1-1 Β· GPL-2.0-or-later
- ubuntu noble: translate-toolkit 3.12.2-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu questing: translate-toolkit 3.15.1-1
- ubuntu resolute: translate-toolkit 3.18.1-1 Β· GPL-2.0-or-later
- 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