3 lines
85 B
Fish
Raw Normal View History

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