2024-06-28 21:10:40 +02:00

3 lines
85 B
Fish

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