logIt Log Around The Clock

Function Return Value ?

tags:

The following function:

1
2
3
processLine(){
<strong>line</strong>="$@"
}

Does it have some sort of “return value”? (in this case the variable line) by calling it through:

processLine $line
echo $line

In the above example, I echo the value of line after being processed by processLine(). (?)


Leave a Reply