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
# Do you like python named parameters (kvargs) ? | |
# Well, you can have it in bash too!! | |
$ function myfunc() { local $*; echo "foo=$foo, bar=$bar"; } | |
$ myfunc bar=world foo=hello | |
foo=hello, bar=world |