Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Most frequent history words



Hello,
can the following be made less coreutils dependent, i.e. more pure-Zsh code?

print -rl "${historywords[@]}" | sort | uniq -c | sort -k1,1nr -k2,2  | head

The goal is to list most frequent history words.

Best regards,
Sebastian Gniazdowski



Messages sorted by: Reverse Date, Date, Thread, Author