Skip to content

Instantly share code, notes, and snippets.

@nicokruger
Created March 18, 2012 20:01
Show Gist options
  • Save nicokruger/2080616 to your computer and use it in GitHub Desktop.
Save nicokruger/2080616 to your computer and use it in GitHub Desktop.
bash pass arguments to script read through pipe
λ ~ → echo 'echo $1 $2 $3' | bash -s - 10 11 12
10 11 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment