# will be sourced from using shell scripts, # so NOT the usual first line... # funct-exit.sh # a function that displays its arguments and # then exits with an exit status of 42 # (to show that a script that calls this # is also exited...!) # # by: Sharon Tuttle # last modified: 2022-11-30 funct_that_exits() { echo "funct_that_exits: I was called with arguments: $@" echo "funct_that_exits: I am about to exit with status 42" exit 42 }