File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -69,11 +69,10 @@ function _Dbg_do_info_variables() {
69
69
(( $? != 0 )) && return
70
70
71
71
# Caveats:
72
- # Bash >= 5.2: 'declare -p' properly escapes special characters within $'', e.g. $'\n\t'
73
72
# Bash < 5.2: 'declare -p' does not escape special characters within $'', but only 'declare' does
74
73
# "declare -p" outputs variables without values, but "declare" does not
75
74
#
76
- # To work with all of Bash 5.x, we 're collecting all variables and values from 'declare'.
75
+ # We 're collecting all variables and values from 'declare'.
77
76
# Because a plain "declare" also prints functions we're only iterating until the first function definition was found.
78
77
#
79
78
# Then we run declare with the filter parameters (-p, -i, etc.) to retrieve the variables to output.
You can’t perform that action at this time.
0 commit comments