/freenode-list

Downloads and formats irc.freenode.net's /list.

Primary LanguageShell

This thing downloads the list of channels on irc.freenode.net,
through the use of `sic` - http://tools.suckless.org/sic.

    % ./main
    % date
    Fri Apr 10 13:38:21 EEST 2015
    % ls 2015-04-10 -d
    2015-04-10
    % ls 2015-04-10
    formatted  list  main-log  receive-log  structure-log

Then sorts and formats the results thus making it all readable.

    % ls -ld latest
    lrwxrwxrwx 1 siers users 10 Apr 10 14:41 latest -> 2015-04-10
    % head latest/formatted
    #ubuntu	1714	Official Ubuntu Support Channel | IRC Guidelines: http:
    #archlinux	1704	Welcome to Arch Linux World Domination, Inc. <> Read or
    ##linux	1673	Forums is back in testing http://forums.linuxassist.net
    #debian	1524	bash: /msg dpkg dsa3035 | openssl: /msg dpkg dsa2896 |

    #haskell	1467	http://www.haskell.org/ | Paste code/errors: http://lpa
    #docker	1439	Docker: Open platform for distributed applications | ht
    #python	1433	Don't paste, use https://bpaste.net/+python | http://bi
    #freenode	1429	Welcome to #freenode | SASL problems? Use PLAIN - DH-BL
    #Node.js	1349	Current Stable v0.10.35, Unstable v0.11.14 | Channel Mi

So that's nice. `set ts=40 nowrap` in vim to have it all line up or, if you don't have `vim`, use the `column` utility to get it lined up.