CATOD(1)

πŸ“¦ version 1.1.1~a021+cvs20130302, in debian bookworm, ubuntu jammy, ubuntu noble, ubuntu questing

CATOD πŸ’–βœ¨

okay bestie, gather round, because we're about to talk about catod β€” part of the General Commands Manual crew, and honestly? it's giving glow-up arc for your dictionaries. πŸ¦‹


✨ NAME ✨

catod β€” converts the text format of a dictionary into binary format. that's it, that's the whole job, and she does it flawlessly. πŸ’…


🌸 SYNOPSIS 🌸

catod  [-s maxword ] [-R] [-r] [-e] [-S] [-U]
       [-P dicpasswd ]    [-p frepasswd ]
       [-h cixingfile ] outfilename

like, look at all those little flags. each one a tiny accessory. πŸ‘‘


πŸŽ€ DEFAULT PATH πŸŽ€

/usr/local/bin/cWnn4/catod

that's where she lives. know her address, bestie. 🏠


πŸ’– DESCRIPTION πŸ’–

so here's the tea: this command converts a dictionary from text format into binary format. glow-up complete. ✨

outfilename is the name of the binary format dictionary. and if outfilename is not given? no worries, the output just gets passed straight to the standard output device (stdout). casual. chill. main character energy. πŸ’…

the input file may be piped in by using the "<" command. for example:

catod  basic.dic  <  basic.u

so "basic.dic" here is the output binary format dictionary, while the "basic.u" is the input text format dictionary. yes bestie, one of them is the before and one of them is the after. πŸ’–

and if the input text dictionary is not given, the input will be taken from the standard input (stdin). to end the input via standard input, press ^D. that's your little "okay I'm done talking" button. 🫢


πŸ’… OPTIONS πŸ’…

  • -s maxword β€” to specify the maximum number of words. default is 70000. no cap. that's a LOT of words.
  • -R β€” to create a dictionary for both forward and reverse conversion. (Default). she does both directions, she's versatile like that. πŸ’«
  • -r β€” to create a reverse format dictionary only for reverse conversion. one-directional, focused, iconic. 🎯
  • -e β€” if the Hanzi inside the text dictionary contains characters such as space and tab, they will be compacted to special format. (Default). tidying up the vibes. 🧹✨
  • -S β€” to create a static dictionary. set in her ways. πŸ’Ž
  • -U β€” to create a dynamic dictionary. flexible, evolving, growing. 🌱
  • -P dicpasswd β€” to specify the password for the dictionary. if "-N" is used instead, the password of the dictionary will be set to "*". πŸ”
  • -p frepasswd β€” to specify the password for the usage frequency file. if "-n" is used instead, the password of the frequency file will be set to "*". πŸ”‘
  • -h cixingfile β€” to specify the Cixing definition file. πŸ“–

⭐ NOTE ⭐

  1. the parts in [ ] are options. they may be omitted. (they're optional, bestie, they're not gonna be mad if you skip them πŸ₯°)
  2. the Pinyin and Zhuyin dictionary has the same format. twins. πŸ‘―
  3. for details of the dictionary structure, refer to cWnn manual. homework assignment, iykyk. πŸ“š

lowkey a warning, highkey a reminder: this is a General Commands Manual page for catod β€” read the options before you run it, or at least vibe-check them first. πŸ™ˆ

and that's the whole page, bestie!! πŸŽ€ written and dated 13 May 1992, which is literally so vintage of her, and she's still serving. go convert some dictionaries, you absolute legend. πŸ¦‹πŸ’–βœ¨πŸŒˆπŸ‘‘