Re: bash subroutine syntax question



In news:L4tOk.1499$Jv2.574@xxxxxxxxxxxxxxxxxxxx,
ToddAndMargo <ToddAndMargo@xxxxxxxxxxxxxxxxxx> typed:

Just a trivia question. In bash subroutines

My Subroutine () {
...
}

Does anything go inside the "()"?

It depends entirely on whether the subroutine requires an argument(s).


.