bash parameter to function code example
Example: bash function
function hello {
echo Hello
}
hello
function e {
echo $1 # $1 is the first argument
}
e Hello
function hello {
echo Hello
}
hello
function e {
echo $1 # $1 is the first argument
}
e Hello