Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Jun 17, 2023. It is now read-only.
/xuanwuPublic archive

A simple command line front end of pangu which could automatically insert whitespace between CJK and half-width characters

License

NotificationsYou must be signed in to change notification settings

EAimTY/xuanwu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

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

Usage: xuanwu [options] [TEXT]Options:    -f FILE             read text from file    -v, --version       Print the version    -h, --help          Print this help menu

Input from argument

$xuanwu"當你凝視著bug,bug也凝視著你"當你凝視著 bug,bug 也凝視著你

Input from file

$cat /PATH/TO/FILE當你凝視著bug,bug也凝視著你$xuanwu -f /PATH/TO/FILE當你凝視著 bug,bug 也凝視著你

Output to file

$xuanwu"當你凝視著bug,bug也凝視著你"> /PATH/TO/FILE$cat /PATH/TO/FILE當你凝視著 bug,bug 也凝視著你

Compile

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/

License

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

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp