Using bash 2.05, does anyone know of a way to get a trace of what's happening inside a function?
eg file /root/myscript: #!/bin/bash function x { LIST=`ls /someplace` [ "$LIST" == "" ] && exit 0 mv $LIST /tmp } x and then: bash -x /root/myscript will only show: x I'd like to see inside the function. Bash 3 looks like it has extra debug stuff under shopt... but not 2.05. Any clues? -- Nic Ferrier http://www.tapsellferrier.co.uk _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash