Skip to content

Instantly share code, notes, and snippets.

@rjocoleman
Created May 18, 2013 02:26
Show Gist options
  • Save rjocoleman/5603013 to your computer and use it in GitHub Desktop.
Save rjocoleman/5603013 to your computer and use it in GitHub Desktop.
bash function to take piped input and pass it to `open`
web () {
while read data
do
echo $data
open $data
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment