I am new to bash scripting and trying to find a way to call a bash function from another bash function that takes one or many arguments passed like we have in other languages ?
for example.
function b()
{
echo "$1 World!"
}
function a()
{
b("Hello!")
}
with call for function "a" would give output of Hello World! (I am not sure if this will work). Any help is appreciated.
Thank you