Jokes – many to be downloaded once..
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
Continue reading
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