3 ms·
56 3:33 55 5:00 53 4:20 1 6:31 1 8:41 1 9:49 From: curl "https://pudding.cool/projects/clocks/assets/songs.csv" | awk -F ',' '{print
by jedberg 3y ago
56 3:33
55 5:00
53 4:20
1 6:31
1 8:41
1 9:49
From:
curl "https://pudding.cool/projects/clocks/assets/songs.csv" | awk -F ',' '{print $1}'|uniq -c|sort -n
BTW if you want the full histogram use this:
curl "https://pudding.cool/projects/clocks/assets/songs.csv" | awk -F ',' '{print $1}'|uniq -c|sort -n |awk '{printf("%5s: %s\n", $2, sprintf("%0" $1 "s", ""));}'
- lathiat 3y agoThere’s a couple good bash libraries for that too: https://github.com/glamp/bashplotlib https://github.com/glamp/bashplotlib There’s a better one google is failing me on