CDTOA(1)
β¨ NAME β¨
cdtoa β bestie, this is the girlie whose whole job is converting the binary format of a dictionary back to text format. that's it, that's the gig π
π SYNOPSIS π
cdtoa [-n] [-s] [-z] [-e] [-E] infilename
[-h cixingfile ] [ usagefreqfile ]
π¦ DEFAULT PATH π¦
/usr/local/bin/cWnn4/cdtoa
that's where she lives, come visit π«Ά
πΈ DESCRIPTION πΈ
okay so picture this: you've got a dictionary sitting in binary format and you want it back as text format. that's literally what cdtoa does, and she outputs everything to standard output (stdout). no cap β¨
infilename is the name of the input binary format dictionary. like, the thing you're feeding her.
and if you wanna catch that output in a file, just pipe it with the > command. for example:
cdtoa dict.dic > dict.u
so in that little scenario, dict.u is the output text format dictionary, and dict.dic is the input binary format dictionary. iconic teamwork tbh π
now β usagefreqfile may indicate more than one user usage frequency files (for a particular user). those usage frequency deets will be reflected in the text format dictionary created. so she's not just translating, she's remembering your vibe π
π OPTIONS π
-sβ orders the entries in the text dictionary according to Pinyin or Zhuyin. sorting queen behavior fr fr-nβ attaches sequence numbers to the output. numbered like a lil countdown π-zβ converts the binary format back to text format in Zhuyin. (note: default is Pinyin, so this is the switch-up β¨)-eβ if the Hanzi inside the text dictionary contains characters such as space and tab, they will be compacted to special format. (Default, so this is her factory setting π)-Eβ if the Hanzi inside the text dictionary contains characters such as space and tab, they will NOT be compacted to special format. the rebel option π€-hcixingfileβ specifies the Cixing definition file. hand her the file, she knows what to do π¦
π NOTE π
- the parts in
[ ]are options. they may be omitted. (yes bestie, brackets = optional, you got this) - the Pinyin and Zhuyin dictionary has the same format. twins fr π―
- the default conversion result of the text dictionary is in Pinyin. so if you don't say anything, that's what you're getting π
lowkey important:-eis the default and-Eis the opposite of it β don't mix them up or you'll be like "why is my output shaped like that π"
that's the whole page, babe β go convert some dictionaries, you absolute main character π
this lil classic is from the General Commands Manual, dated 13 May 1992, and it's page CDTOA(1) β yeah she's vintage and she still ate πβ¨
π¦ 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