#ascii #count #characters #txt

bin+lib tsur

Count ASCII characters in file(s)

6 releases

0.1.6 Oct 21, 2020
0.1.4 Oct 21, 2020

#1923 in Text processing

MIT/Apache

13KB
229 lines

Tsur (tsur)

Tsur is a character counter tool.

Examples

# 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

Dependencies

~750KB