| Line 146: |
Line 146: |
| | </source> | | </source> |
| | | | |
| − | return can only be an integer between 0-255 (0=success); to get the return value (if you just want to return an integer 0-255) is $?</br> | + | return can only be an integer between 0-255 (0=success); to get the return value (if you just want to return an integer 0-255) is $?<br /> |
| − | To return something else use echo so output can be captured with $(func)</br> | + | To return something else use echo so output can be captured with $(func)<br /> |
| − | fun1 || fun2 will only run fun2 if fun1 returns a 0 value</br> | + | fun1 || fun2 will only run fun2 if fun1 returns a 0 value<br /> |
| | | | |
| | == Redirections == | | == Redirections == |