Re: ${!prefix@} no longer expands in Bash 4.4-alpha

2015-07-11 Thread Chet Ramey
On 7/11/15 12:17 PM, konsolebox wrote: > Bash 4.4-alpha no longer expands ${!prefix@}. > ${!prefix*} however still works. Yeah, it was a bad idea to make ${!prefix@} ever work in the first place. The original intent was to use ${!prefix*} like in ksh93, but * and @ are the same just about everywhe

${!prefix@} no longer expands in Bash 4.4-alpha

2015-07-11 Thread konsolebox
Bash 4.4-alpha no longer expands ${!prefix@}. ${!prefix*} however still works. bash-4.4-alpha-4.4# var_1=a var_2=b bash-4.4-alpha-4.4# set -- ${!var_@} bash-4.4-alpha-4.4# echo $# 0 bash-4.4-alpha-4.4# set -- "${!var_@}" bash-4.4-alpha-4.4# echo $# 1 bash-4.4-alpha-4.4# set -- ${!var_*} bash-4.4-a