# little "external" function that uses return to quit
# (to demonstrate that return in a function allows the shell
# script CALLING that function to keep going, and to check
# the exit status of this function once it is completed)
#
# (because this is meant to be used by another shell script,
# did not start it with the usual #!/bin/bash line)
#
# by: Sharon Tuttle
# last modified: 11-19-12
funct_that_returns()
{
echo "funct_that_returns: I was called with arguments: $@"
echo "funct_that_returns: I'm about to return!"
return 13
}