diff options
author | Chet Ramey <chet.ramey@case.edu> | 2020-11-17 14:18:49 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2020-11-17 14:18:49 -0500 |
commit | 37b22abee700eb1b0c5b6926ab32630a429c1183 (patch) | |
tree | 01d22efef9babf0127776b6b3c4387b03dc629ab /subst.c | |
parent | 278db80c368700ed6117fbd390c89a9b44c0240c (diff) | |
download | bash-5.1-testing.tar.gz |
Bash-5.1-rc3 releasebash-5.1-rc3bash-5.1-testing
Diffstat (limited to 'subst.c')
-rw-r--r-- | subst.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8820,12 +8820,12 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta else #if defined (CASEMOD_EXPANSIONS) /* To enable case-toggling expansions using the `~' operator character - define CASEMOD_CAPCASE in config-top.h */ -# if defined (CASEMOD_CAPCASE) + define CASEMOD_TOGGLECASE in config-top.h */ +# if defined (CASEMOD_TOGGLECASE) name = string_extract (string, &t_index, "#%^,~:-=?+/@}", SX_VARNAME); # else name = string_extract (string, &t_index, "#%^,:-=?+/@}", SX_VARNAME); -# endif /* CASEMOD_CAPCASE */ +# endif /* CASEMOD_TOGGLECASE */ #else name = string_extract (string, &t_index, "#%:-=?+/@}", SX_VARNAME); #endif /* CASEMOD_EXPANSIONS */ |