3 lines
85 B
Fish
Raw Normal View History

2024-06-28 21:10:40 +02:00
function countchars
tr -d '\n' < $argv[1] | fold -w1 | sort | uniq -c | sort -nr
end