Bash Script Passing variable to Function
In Bash Script, what is the syntax for passing a variable to a function. I'm assuming it's something like.
function MyFunction(MyVariable)
{
}
and then to call it you do something like
MyFunction(10)
but I can't get it to work.
Thanks
|