Advertisement
metalx1000

Get Function Name

Nov 7th, 2015
634
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.07 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. myfun(){
  4.   echo "This function is $FUNCNAME"
  5. }
  6.  
  7. myfun
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement