()
$1
$2
foo(input) { echo "$input" } foo("hello world");
foo() { echo "$1" } foo "hello world"
Shell script functions behave just like scripts and other commands:
name arg1 arg2
None.
There was an error while loading. Please reload this page.