Home

Advertisement

Customize

X-Bender: Yes! I got the most! I win X-Mas!

Jul. 16th, 2008 | 02:26 pm

I'm too stupid to remember if I posted this previously and too lazy to check, but here it is:

#!/bin/bash
while [ true ]; do
lwp-request -m HEAD http://slashdot.org | head -12 | tail -1 >> futurama_quotes.txt
done

I'm sure some of you already know about X-Bender and friends, but this is the most compact and fastest way to generate some that I've found. I have noticed they've added quotes from Bender's Big Score and possibly from The Beast with a Billion Backs, but I don't know for sure since I try to block most of that movie out.

Hopefully after I finish reading my bash book from the library, I can add some pattern matching to remove duplicates. If you know how to do this, please don't tell me. I'd like to figure it out myself. :-)

Link | Leave a comment {3} | Add to Memories | Tell a Friend