zsh-users
 help / color / mirror / code / Atom feed
* Most frequent history words
@ 2016-04-25 10:36 Sebastian Gniazdowski
  2016-04-25 19:49 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Gniazdowski @ 2016-04-25 10:36 UTC (permalink / raw)
  To: Zsh Users

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-04-27 16:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-25 10:36 Most frequent history words Sebastian Gniazdowski
2016-04-25 19:49 ` Bart Schaefer
2016-04-26 11:03   ` Sebastian Gniazdowski
2016-04-26 19:39     ` Bart Schaefer
2016-04-27  9:14       ` Sebastian Gniazdowski
2016-04-27 15:59         ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).