- Notifications
You must be signed in to change notification settings - Fork0
A simple command line front end of pangu which could automatically insert whitespace between CJK and half-width characters
License
EAimTY/xuanwu
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Xuanwu is a simple command line front end ofpangu-rs which could automatically insert whitespace between CJK(Chinese, Japanese, Korean) and half-width characters(alphabetical letters, numerical digits and symbols).
Xuanwu (玄武) is a powerful deity in Chinese religion, one of the higher-ranking deities in Taoism. In Chinese mythology, Xuanwu is the son of Pangu (盘古; 盤古), who separated heaven and earth and became geographic features such as mountains and rivers.
Usage: xuanwu [options] [TEXT]Options: -f FILE read text from file -v, --version Print the version -h, --help Print this help menu
$xuanwu"當你凝視著bug,bug也凝視著你"當你凝視著 bug,bug 也凝視著你
$cat /PATH/TO/FILE當你凝視著bug,bug也凝視著你$xuanwu -f /PATH/TO/FILE當你凝視著 bug,bug 也凝視著你
$xuanwu"當你凝視著bug,bug也凝視著你"> /PATH/TO/FILE$cat /PATH/TO/FILE當你凝視著 bug,bug 也凝視著你
Required Rust 1.59 or above
$ git clone https://github.com/EAimTY/xuanwu&&cd xuanwu$ cargo build --release
You can find the compiled binary intarget/release/
GNU General Public License v3.0
About
A simple command line front end of pangu which could automatically insert whitespace between CJK and half-width characters