Jokes – many to be downloaded once..

2010-04-11 1 min read Bash Fedora Linux

All work and no fun makes Jack dull boy. So lets do something for fun. Here is a one liner I wrote sometime back.  The original idea is not mine and I don’t remeber where I got the idea from but it was some other one liner that I was browsing for some oracle query. Anyway here’s the one liner to get lot of jokes in one file.

#!/bin/bash
for i in `echo 000{0..9} 00{10..99} 0{100..999} {1000..1600}` ; do links -dump http://www.robsjokes.com/$i/index.html | sed ’/Random Joke/,/Next Joke/!d’ | sed ’/^$/,/^$/!d’ » ~/Rob.jokes ; echo ’%’ » ~/Rob.jokes ;echo $i; done

Continue reading

Whats Orange And Sounds Like A Parrot?

2010-04-01 1 min read Linux

Could not resist posting this 🙂

What’s orange and sounds like a parrot?

A carrot!

URL: <a href="http://www.jokes.com/funny/whatever/whats-orange-and-sounds-like-a-parrot-">http://www.jokes.com/funny/whatever/whats-orange-and-sounds-like-a-parrot-