rstconv(1)
β¨ rstconv β the Free Pascal resource string converter tool π
ok so bestie, welcome to rstconv(1) π β part of the Free Pascal crew, and lowkey the glow-up artist your resource strings have been waiting for.
πΈ NAME πΈ
rstconv β The Free Pascal resource string converter tool. that's it, that's the name, and she ate π
π¦ SYNOPSIS π¦
rstconv [options] -o outfile
periodt. that's the whole vibe right there β¨
π DESCRIPTION π
okay so here's the tea β β rstconv reads a resource string file (.rst) that was produced by the Free Pascal compiler, and then outputs a file that an internationalization tool can actually use for internationalizing your application.
and which i18n tool, you ask? currently only GNU gettext is supported, so that's the one we're rolling with π«Ά
it's giving "my app but make it speak 47 languages" π
π USAGE π
rstconv has exactly one required option: -o outfile, which specifies the output file name. no output name, no output, bestie, them's the rules π
and if you don't specify an input file? then standard input is assumed. she'll just read straight from stdin like it's nothing πβ¨
π OPTIONS π
-fformat β specify the output file format. currently only this one format is supported:poβ emit a.pofile for use with GNU gettext, which converts it to a.mofile, that can be read with thegettextunit. this is THE format, the only one on the menu π
-h(or--help) β outputs a short help message. when in doubt, ask for help, no shame in it π-iinfile β specifies the input file name. if you omit it, then standard input is assumed π¦-ooutfile β (Required) specify the output file name. do not skip this one, she is not optional, she is the main character π
β οΈ real talk: -o outfile is genuinely required. skip it and you're just vibing in the void π
π SEE ALSO π
go read those too, they're iconic in their own right β
and that's a wrap on the rstconv tour, bestie π§π β this little slice of Free Pascal magic is dated 10 Jan 2000, and it's still serving. stay converted, stay internationalized, and remember: -o outfile or it didn't happen π
β¨
π¦ where this page comes from
- debian bookworm: fp-utils-3.2.2 3.2.2+dfsg-20 Β· GPL-2.0-or-later
- debian trixie: fp-utils-3.2.2 3.2.2+dfsg-46 Β· GPL-2.0-or-later
- ubuntu jammy: fp-utils-3.2.2 3.2.2+dfsg-9ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: fp-utils-3.2.2 3.2.2+dfsg-32 Β· GPL-2.0-or-later
- ubuntu questing: fp-utils-3.2.2 3.2.2+dfsg-46
- ubuntu resolute: fp-utils-3.2.2 3.2.2+dfsg-49 Β· GPL-2.0-or-later
- ubuntu stonking: fp-utils-3.2.2 3.2.2+dfsg-51 Β· 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