Skip to content

Instantly share code, notes, and snippets.

@obfusk
Last active December 27, 2015 17:48
Show Gist options
  • Select an option

  • Save obfusk/7364475 to your computer and use it in GitHub Desktop.

Select an option

Save obfusk/7364475 to your computer and use it in GitHub Desktop.
random quote w/ perl
first
quote
%%
second
%%
third
perl -e '$/ = "%%\n"; srand; rand($.) < 1 && ($quote = $_) while <>; chomp $quote; print $quote' quotes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment