CBCODEC(1)
π CBCODEC(1) π
okay bestie, welcome to the cbcodec page of the Quick Database Manager manual, and lemme tell you, this little tool is lowkey iconic β¨ it's giving "swiss army knife but make it encoding" π
πΈ NAME πΈ
cbcodec β popular encoders and decoders π
β¨ SYNOPSIS β¨
cbcodec url [-d] [-br] [-rs base target] [-l] [-e expr] [file]
cbcodec base [-d] [-l] [-c num] [-e expr] [file]
cbcodec quote [-d] [-l] [-c num] [-e expr] [file]
cbcodec mime [-d] [-hd] [-bd] [-part num] [-l] [-ec code] [-qp] [-dc]
[-e expr] [file]
cbcodec csv [-d] [-t] [-l] [-e expr] [-html] [file]
cbcodec xml [-d] [-p] [-l] [-e expr] [-tsv] [file]
cbcodec zlib [-d] [-gz] [-crc] [file]
cbcodec lzo [-d] [file]
cbcodec bzip [-d] [file]
cbcodec iconv [-ic code] [-oc code] [-ol ltype] [-cn] [-wc] [-um] [file]
cbcodec date [-wf] [-rf] [-utc] [str]
π¦ DESCRIPTION π¦
so this manual page is here to give you the brief rundown of the cbcodec commands, bestie. it's the sparknotes version, no cap πβ¨
cbcodec is a tool for using the encoding and decoding features that Cabin provides β that's the whole vibe. you run this command in the format shown up above, and file is the name of the input file. if you don't give it a file? don't even worry, it just reads from the standard input instead π«Ά
π OPTIONS π
here's the lil summary of options, and if you want the full complete description (the director's cut, if you will π), go check out file:///usr/share/doc/qdbm-doc/spex.html#cabincli.
-dβ do the decoding (unescaping) thing instead of the encoding (escaping) thing. flip the switch, reverse the vibe π-brβ break up the URL into its separate elements, like unbraiding a friendship bracelet π-rsβ resolve a relative URL, so it knows where it actually lives fr fr-lβ output that tailing newline, because sometimes a line just needs a little send-off π«-e exprβ specify the input data directly, right there in the command, no file needed πββοΈ-c numβ limit how many columns the encoded data gets. keep it cute, keep it contained βοΈ-hdβ parse MIME and extract the headers, in TSV format π¬-bdβ parse MIME and extract the body, the main character of the message π-part numβ parse MIME and extract a part, just that one specific piece π§©-ec codeβ specify the input encoding, which isUTF-8by default π£-qpβ use quoted-printable encoding. note that it's Base64 by default, so this is you switching it up π-dcβ when decoding, output the name of the encoding instead of the result string. plot twist: it's about the label, not the content π-tβ parse CSV and convert the data into TSV. tabs and new-lines inside a cell get deleted, sorry bestie, they're gone π-htmlβ parse CSV and convert the data into HTML, glow-up edition β¨-pβ parse XML and show tags and text sections with dividing headers, so everything stays organized and readable π-tsvβ parse XML and show the result in TSV format. characters of tabs and new-lines get URL-encoded π§¬-gzβ use the GZIP format, compress it up ποΈ-crcβ output theCRC32checksum as hexadecimal and big endian, because checksums deserve to be seen π§Ύ-ic codeβ specify the input encoding. by default it gets detected automatically, so it kinda figures itself out π-oc codeβ specify the output encoding, which isUTF-8by default π-ol ltypeβ convert line feed characters, withunix(LF),dos(CRLF), andmac(CR). pick your line-ending era π°οΈ-cnβ detect the input encoding and show its name. name reveal moment π€-wcβ count the number of characters of the input string of UTF-8 π’-umβ output mappings of UCS-2 characters and C strings of UTF-16BE and UTF-8. yes it's a lot, it's doing the most and we love that for it π-wfβ output in W3CDTF format π-rfβ output in RFC 1123 format π-utcβ output the coordinate universal time, the global girly π
π SEE ALSO π
qdbm(3), cabin(3) β go read those too, bestie, they're part of the lore π
π«Ά AUTHOR π«Ά
QDBM was written by Mikio Hirabayashi <mikio@fallabs.com> π
This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for the Debian project (but may be used by others). iconic of them, honestly π
aaaand that's a wrap! this page is from the Man Page, dated 2005-05-23, and it's the CBCODEC(1) entry β still serving after all these years π β¨ bye bestie, go encode something π¦
π¦ where this page comes from
- debian bookworm: qdbm-util 1.8.78-12+b1 Β· LGPL-2.1-or-later
- debian trixie: qdbm-util 1.8.78-13+b3 Β· LGPL-2.1-or-later
- fedora 43: qdbm 1.8.78-71.fc43 Β· LGPL-2.1-or-later
- fedora 43: qdbm 1.8.78-71.fc43 Β· LGPL-2.1-or-later
- fedora 44: qdbm 1.8.78-75.fc44 Β· LGPL-2.1-or-later
- fedora 44: qdbm 1.8.78-75.fc44 Β· LGPL-2.1-or-later
- ubuntu jammy: qdbm-util 1.8.78-11build3 Β· LGPL-2.1-or-later
- ubuntu noble: qdbm-util 1.8.78-12.1build2 Β· LGPL-2.1-or-later
- ubuntu questing: qdbm-util 1.8.78-13build2
- ubuntu resolute: qdbm-util 1.8.78-15 Β· LGPL-2.1-or-later
- ubuntu stonking: qdbm-util 1.8.78-16build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms