Finding the definition of a bash function
Posted
by pythonic metaphor
on Super User
See other posts from Super User
or by pythonic metaphor
Published on 2010-05-24T18:42:54Z
Indexed on
2010/05/24
18:51 UTC
Read the original article
Hit count: 922
bash
|bash-function
I work in an environment that has a lot of legacy shell script magic lying around. One thing used heavy from the command line are bash functions that get sourced from some file included from some file included from some file ... included in my .bash_profile. Is there a way to get the definition or even better the location of the definition of these functions without tracking them down through 5 levels of includes?
© Super User or respective owner