1 # This file is intended to be sourced from one of the bashdb test programs
5 echo "SOURCED FN LINENO $LINENO"
10 for (( i=0 ; (( i < $n )) ; i++ )) ; do
12 [ $j -eq $n ] && j=i # main()'s file is the same as the first caller
13 echo "FUNCNAME[$i]: ${FUNCNAME[$i]} called from ${BASH_SOURCE[$j]}" \
14 "at line ${BASH_LINENO[$i]}"
18 echo "SOURCED LINENO $LINENO"
19 echo "SOURCED BASH_SOURCE[0]" ${BASH_SOURCE[0]}
22 #;;; Local Variables: ***
23 #;;; mode:shell-script ***
24 #;;; eval: (sh-set-shell "bash") ***