Created
March 18, 2012 20:01
-
-
Save nicokruger/2080616 to your computer and use it in GitHub Desktop.
bash pass arguments to script read through pipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ ~ → 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