IRC Quotes From bash.org - Command Line Tool

One of my guilty pleasures is reading through IRC quotes. I hate to think how much time I’ve spent reading my way through bash.org and qdb.us. While playing with Template::Extract today I found myself needing a simple, structured site to experiment with. And it resulted in the bash_quotes command line tool.

The script is pretty simple, if you call it without an argument it gets the quotes from the “Latest” page. If you call ‘bash_quotes -r’ then it’ll fetch a random set. You can then run it numerous times to fill any amount of spare time. Which may not be a good thing. I’m quite impressed with Template::Extract, it’s a very neat way of extracting data from websites without doing a lot of state retention in your own code.