#count #hex #cli #program #char #command-line-tool

app rustichar

Rustichar is a cli tool made to check the occurrences of characters in a string

2 stable releases

1.0.1 Oct 10, 2024
1.0.0 Oct 9, 2024

#421 in Command line utilities

Download history 340/week @ 2024-10-08 14/week @ 2024-10-15

354 downloads per month

Custom license

14KB

Rustichar

Rustichar is a program that checks how many of all the characters in a string there are

Installation

Make sure you have rust and cargo installed and in your path

Then run cargo install rustichar in your terminal

Then you can run the rustichar command.

Usage

Usage: echo "hi" | rustichar this will print something like:

h: 1
i: 1
newline: 1

It could be in a different order though.

To print in a hex format do the same command but with -h at the end

Changelog

1.0.1

Added -h flag

1.0.0

Initial release

No runtime deps