Skip to content

Instantly share code, notes, and snippets.

@andytlr
Created June 14, 2016 19:23
Show Gist options
  • Save andytlr/10817bba635e10e72ed1d6ab4bac6254 to your computer and use it in GitHub Desktop.
Save andytlr/10817bba635e10e72ed1d6ab4bac6254 to your computer and use it in GitHub Desktop.
# Takes one URL per line on the clipboard.
# Opens each one in a new tab in the default browser.
touch temp.txt
pbpaste > temp.txt
echo "" >> temp.txt
cat temp.txt | while read a; do open $a; done
rm temp.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment