CATOD(1)
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 π
-smaxwordβ to specify the maximum number of words. default is70000. 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. π±-Pdicpasswdβ to specify the password for the dictionary. if"-N"is used instead, the password of the dictionary will be set to"*". π-pfrepasswdβ to specify the password for the usage frequency file. if"-n"is used instead, the password of the frequency file will be set to"*". π-hcixingfileβ to specify the Cixing definition file. π
β NOTE β
- the parts in
[ ]are options. they may be omitted. (they're optional, bestie, they're not gonna be mad if you skip them π₯°) - the Pinyin and Zhuyin dictionary has the same format. twins. π―
- for details of the dictionary structure, refer to
cWnnmanual. 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. π¦πβ¨ππ
π¦ where this page comes from
- debian bookworm: freewnn-cserver 1.1.1~a021+cvs20130302-7+b2
- ubuntu jammy: freewnn-cserver 1.1.1~a021+cvs20130302-7build1
- ubuntu noble: freewnn-cserver 1.1.1~a021+cvs20130302-8build1
- ubuntu questing: freewnn-cserver 1.1.1~a021+cvs20130302-8build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms