#!/bin/bash # shell script that calls a little "external" function that # uses exit to quit # (to demonstrate that exit in a function causes the shell # script CALLING that function to be exited) # # by: Sharon Tuttle # last modified: 11-19-12 source funct-exit.sh echo "call-funct_that_exits.sh: about to call funct_that_exits" funct_that_exits a boo cadre echo "call-funct-that-exits.sh: IS THIS REACHED? ...after call of funct_that_exits"