#ascii #count #characters #txt

bin+lib tsur

统计文件中的 ASCII 字符

6 个版本

0.1.6 2020 年 10 月 21 日
0.1.4 2020 年 10 月 21 日

#1923文本处理

MIT/Apache

13KB
229

Tsur (tsur)

Tsur 是一个字符计数工具。

示例

# count all ascii characters in text.txt
# and output in (default) ascending order, by value
tsur -f text.txt count -c

# count all ascii characters in text.txt
# and output in descending order, by values
tsur -f text.txt count -c -s vdesc

# count all ascii characters in text.txt
# and output in descending order, by keys
tsur -f text.txt count -c -s kdesc

# count all ascii characters in text.txt
# and output in ascending order, by keys
tsur -f text.txt count -c -s vasc

# cout all ascii characters in t1.txt t2.txt
# and output in ascending order, by values
tsur -f t1.txt t2.txt count -c

依赖项

~750KB