Skip to content

Instantly share code, notes, and snippets.

@qpfiffer
Created October 26, 2015 17:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qpfiffer/6459b5596f9767a6f691 to your computer and use it in GitHub Desktop.
Save qpfiffer/6459b5596f9767a6f691 to your computer and use it in GitHub Desktop.
quinlan@corinthian:~/.weechat/logs$ grep -E '\w+[A]{3,}[a]*$' irc.esper.#merveilles.weechatlog | sed -E 's/[[:space:]].*//' | sort | uniq -c | sed -E -e 's/^[[:space:]]*//' | gnuplot -e 'set terminal dumb 120 40; set grid; set datafile separator " "; set xdata time; set timefmt "%Y-%m-%d"; plot "< cat" using 2:1 with lines title ""'
25 ++-+---+--+--+---+--+---+--+--+---+--+--+---+--+--+---+--+---+--+--+---+--+--+---+--+--+---+--+--+---+--+---+-++
+ + + + + + + + + + +* +
| : : : : : : : : : :* |
| : : : : : : : : : :* |
| : : : : : : : : : :* |
| : : : : : : : : : :* |
| : : : : : : : : : :* |
20 ++....................................................................................................*.......++
| : : : : : : : : : :* |
| : : : : : : : : : :* |
| : : : : : : : : : :* |
| : : : : : : : : : :* |
| : : : : : : : : : :* |
| : : : : : : : : : :* |
15 ++....................................................................................................*.......++
| : : : : : : : : : :* |
| : : : : : : : : : :** |
| : : : : : : : : : * :** |
| : : : : : : : : : * * :** |
| : : : : : : : : : * * :** |
| : : : : : : : : : * ** :** |
10 ++............................................................................................*.**....**......++
| : : : : : : : : : * ** :** |
| : : : : : : : : : * ** :** |
| : : : : : : : : : ** ** :** |
| : : : : : : : : : ** *** :** |
| : : : : : : : : : ** *** :** |
| : : : : : : : : :******* *:** |
5 ++........................................................................................*********.*.**......++
| : : : : : : : : * :*********:** |
| : : : : : : : : * :*********:** |
| : : : : : : : : * :************ |
| : : : : *** : : * : : *** * :************ |
| : : : : * : : * : ** * : ************ |
+ ********************************* ***********************************+ * + ******* **** +
0 ++-+---+--+--+---+--+---+--+--+---+--+--+---+--+--+---+--+---+--+--+---+--+--+---+--+--+---+--+--+---+--+---+-++
04/01/13 07/01/13 10/01/13 01/01/14 04/01/14 07/01/14 10/01/14 01/01/15 04/01/15 07/01/15 10/01/15 01/01/16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment