I would like to get the function name from this function for logging purposes.
KornShell Function (ksh):
foo () { echo "get_function_name some useful output" }
Is there something like $0 that returns the name of the script in scripts, but instead provides the name of the function?
source share