1CBCODEC(1)                  Quick Database Manager                  CBCODEC(1)
2
3
4

NAME

6       cbcodec - popular encoders and decoders
7

SYNOPSIS

9       cbcodec url [-d] [-br] [-rs base target] [-l] [-e expr] [file]
10       cbcodec base [-d] [-l] [-c num] [-e expr] [file]
11       cbcodec quote [-d] [-l] [-c num] [-e expr] [file]
12       cbcodec  mime  [-d] [-hd] [-bd] [-part num] [-l] [-ec code] [-qp] [-dc]
13       [-e expr] [file]
14       cbcodec csv [-d] [-t] [-l] [-e expr] [-html] [file]
15       cbcodec xml [-d] [-p] [-l] [-e expr] [-tsv] [file]
16       cbcodec zlib [-d] [-gz] [-crc] [file]
17       cbcodec lzo [-d] [file]
18       cbcodec bzip [-d] [file]
19       cbcodec iconv [-ic code] [-oc  code]  [-ol  ltype]  [-cn]  [-wc]  [-um]
20       [file]
21       cbcodec date [-wf] [-rf] [-utc] [str]
22

DESCRIPTION

24       This manual page documents briefly the cbcodec commands.
25
26       cbcodec  is   a  tool to use encoding and decoding features provided by
27       Cabin. This command is used in the above format. file specifies a input
28       file. If it is omitted, the standard input is read.
29

OPTIONS

31       A  summary  of  options is included below.  For a complete description,
32       see the file:///usr/share/doc/qdbm-doc/spex.html#cabincli.
33
34       -d     perform decoding (unescaping), not encoding (escaping).
35
36       -br    break up URL into elements.
37
38       -rs    resolve relative URL.
39
40       -l     output the tailing newline.
41
42       -e expr
43              specify input data directly.
44
45       -c num limit the number of columns of the encoded data.
46
47       -hd    parse MIME and extract headers in TSV format.
48
49       -bd    parse MIME and extract the body.
50
51       -part num
52              parse MIME and extract a part.
53
54       -ec code
55              specify the input encoding, which is UTF-8 by default.
56
57       -qp    use quoted-printable encoding, which is Base64 by default.
58
59       -dc    output the encoding name  instead  of  the  result  string  when
60              decoding.
61
62       -t     parse CSV. Convert the data into TSV. Tab and new-line in a cell
63              are deleted.
64
65       -html  parse CSV. Convert the data into HTML.
66
67       -p     parse XML. Show tags and text sections with dividing headers.
68
69       -tsv   parse XML. Show the result in TSV format. Characters of tabs and
70              new-lines are URL-encoded.
71
72       -gz    use GZIP format.
73
74       -crc   output the CRC32 checksum as hexadecimal and big endian.
75
76       -ic code
77              specify  the  input encoding, which is detected automatically by
78              default.
79
80       -oc code
81              specify the output encoding, which is UTF-8 by default.
82
83       -ol ltype
84              convert line feed characters, with `unix'(LF), `dos'(CRLF),  and
85              `mac'(CR).
86
87       -cn    detect the input encoding and show its name.
88
89       -wc    count the number of characters of the input string of UTF-8.
90
91       -um    output  mappings  of  UCS-2 characters and C strings of UTF-16BE
92              and UTF-8.
93
94       -wf    output in W3CDTF format.
95
96       -rf    output in RFC 1123 format.
97
98       -utc   output the coordinate universal time.
99

SEE ALSO

101       qdbm(3), cabin(3).
102

AUTHOR

104       QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>.
105
106       This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for
107       the Debian project (but may be used by others).
108
109
110
111Man Page                          2005-05-23                        CBCODEC(1)
Impressum