Does anyone know if there is a util out there to run through a shell script and be able to trace the function call tree. I have inherited some code and the original author was ****mad**** keen on functions - even ones called only once!
If anyone knows of anything I would appreciate it - web trawling has not revealed anything yet.
You could not do this 100% because a function can be called by name from a variable.
A good clue, however, is that a function has to be defined before it can be called, so if you look through the file in order it should be basically in bottom up order.