3 lines
85 B
Fish
3 lines
85 B
Fish
|
function countchars
|
||
|
tr -d '\n' < $argv[1] | fold -w1 | sort | uniq -c | sort -nr
|
||
|
end
|