table of contents
| OPENCC(1) | User Commands | OPENCC(1) |
NAME¶
opencc - simplified-traditional chinese conversion toolDESCRIPTION¶
Open Chinese Convert (OpenCC) Command Line ToolUsage:¶
opencc [-i
input_file] [-o output_file] [-c config_file]
-i
Read original text from input_file.
-o
Write converted text to output_file.
-c
Load dictionary configuration from config_file.
- 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`.
- Note:
- 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.
- Default configuration(zhs2zht.ini) will be load if config_file is not set.
SEE ALSO¶
iconv(1)| June 2010 | opencc |