shell script - Returning a value from a bash function - Unix & Linux ...
15 Sep 2013 ... is the return value of the previous command if [[ $valNumResult -eq 1 ]] then : #
do ... You cannot return an arbitrary result from a shell function.
unix.stackexchange.com |