U2O(1)

πŸ’– NAME πŸ’–

okay so listen β€” this is the manual page for U2O(1), straight out of the General Commands Manual, and the star of the show is u2o, aka the USFM to OSIS XML converter. that's the whole vibe. she converts, she slays, she goes home. πŸ’…


🌸 DESCRIPTION 🌸

bestie, it's literally in the name: Convert USFM Bibles to OSIS. you bring the USFM, she hands you back OSIS. that's it. no cap. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

here's how you summon her:

usage: u2o [-h] [-d] [-e encoding] [-o output_file] [-l LANG] [-s {canonical,none}] [-v] [-x] [-n] workid filename [filename ...]

🫢 positional arguments

these are the mandatory besties. you can't skip them, they're the main characters:

  • workid β€” the work id to use for the OSIS file. like a name tag but for your output. iconic behavior honestly.
  • filename β€” the file, or files, to process. wildcards are allowed so go absolutely feral with the globbing, she can handle it. πŸ’…

✨ OPTIONS ✨

one bullet per flag, no skips, we don't gatekeep here:

  • -h, --help β€” show this help message and exit. your emotional support flag, always there for you. 🫢
  • -d β€” debug mode (default: False). turn it on when you wanna see the messy behind-the-scenes.
  • -e encoding β€” set encoding to use for the USFM files (default: None). tell her what alphabet energy you're bringing.
  • -o output_file β€” specify output file (default: None). where you want the goods to land.
  • -l LANG β€” specify language code (default: und). yes bestie, und is the default, that's just what it is.
  • -s {canonical,none} β€” sort order (default: canonical). pick your order, those are your two choices, no in-between.
  • -v β€” verbose output (default: False). she will yap and honestly? let her.
  • -x β€” disable OSIS validation and reformatting (default: False). turn this on and she skips the glow-up pass entirely.
  • -n β€” disable unicode NFC normalization (default: False). no normalization, no folding, just raw text energy. πŸ™ˆ
fr fr, every single one of these defaults is exactly what it says on the tin β€” don't come for me, come for the source.

okay that's the whole page, you're welcome, go convert something gorgeous. this one's dated 2021-09-08, it comes to you from the General Commands Manual, and its name is U2O(1). mwah, bye bestie πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from