1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
.TH OPENCC "1" "June 2010" "opencc " "User Commands"
.SH NAME
opencc \- simplified-traditional chinese conversion tool
.SH DESCRIPTION
Open Chinese Convert (OpenCC) Command Line Tool
.SS "Usage:"
.HP
opencc [\-i input_file] [\-o output_file] [\-c config_file]
.HP
\fB\-i\fR
Read original text from input_file.
.HP
\fB\-o\fR
Write converted text to output_file.
.HP
\fB\-c\fR
Load dictionary configuration from config_file.
.IP
Package libopencc1 has some configuration file preset: /usr/lib/${DEB_HOST_MULTIARCH}/opencc/*.ini;
the ${DEB_HOST_MULTIARCH} is something like "x86_64-linux-gnu" (AMD64)
or "i386-linux-gnu" (i386), or something else;
you can get it by `dpkg-architecture \-qDEB_HOST_MULTIARCH`.
.IP
Note:
.IP
Text from standard input will be read if input_file is not set and will be written to standard output if output_file is not set.
.IP
Default configuration(zhs2zht.ini) will be load if config_file is not set.
.PP
Open Chinese Convert (OpenCC) Command Line Tool
.SH "SEE ALSO"
.BR iconv (1)
|