From: R. B. <ro...@pa...> - 2006-01-03 02:06:52
|
I've started to look into making the bash debugger work on bash 3.1. As with bash 3.0, I've checked this in as a separate location (bash-3.1) rather than make a branch of either bash-3.00 or of bashdb (for 2.05b). In bash 3.0 whereas in the bashdb code one could do this: local -a fns_a=(`declare -F`) what now seems to work is: local -a fns_a fns_a=(`declare -F`) using $() for `' makes no difference. And instead of: if [[ $basename == '$cdir' ]] ; then what seems to work is: if [ $basename = '\$cdir' ] ; then I don't know if the incompatibility is intentional or not; if the mistake was my prior misuse of the language. I report the above in case others have problems or in case someone else wants to investigate or make a bug report if one is warranted. |