CDTOA(1)

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

✨ 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 😀
  • -h cixingfile β€” specifies the Cixing definition file. hand her the file, she knows what to do πŸ¦‹

🌈 NOTE 🌈

  1. the parts in [ ] are options. they may be omitted. (yes bestie, brackets = optional, you got this)
  2. the Pinyin and Zhuyin dictionary has the same format. twins fr πŸ‘―
  3. 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: -e is the default and -E is 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 πŸŽ€βœ¨