Skip to content

Instantly share code, notes, and snippets.

@mmb
Created December 7, 2012 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmb/4230951 to your computer and use it in GitHub Desktop.
Save mmb/4230951 to your computer and use it in GitHub Desktop.
Find all urls in stdout and open them in a browser.
cat some_stdout | ruby -ruri -e "puts URI.extract(ARGF.read, 'http').join(' ')" | xargs open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment