If I have a Bash script like:
#!/bin/bash f() { # echo function name, \"f\" in this case }
Is there any way to do this? This could be us
I use ${FUNCNAME[0]} to print current function name
${FUNCNAME[0]}