Comment

Comment by nexox

Sounds like you might be interested in this function that I keep in my bashrc, which prints a random line from Uncyclopedia (note, output may contain NSFW language and mangled unicode characters):

  mknoise(){
    curl -Ls http://uncyclopedia.wikia.com/wiki/Special:Random/ | sed -n '/<p>/,/<\/p>/p' \
        | sed -e 's/<[^>]*>//g' -e '/^*$/d' -e '/article/g' | \
        perl -MList::Util=shuffle -e 'print shuffle(<STDIN>);' | sed -n '/^.\{35\}/p' | head -n1
  }
parent nexox 13 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton