Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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
  }


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: