Re: Parameter expansion isn't performed first if it's in a parameter expansion

2016-11-26 Thread Chet Ramey
On 11/26/16 8:52 AM, xuzhen wrote: > Bash Version: 4.4 > Patch Level: 5 > Release Status: release > > Description: > The manpage said that brace expansion is performed before any other > expansions. But I found it's not if it's in a parameter expansion. You're right. Bash doesn't perform brace

Parameter expansion isn't performed first if it's in a parameter expansion

2016-11-26 Thread xuzhen
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE