Re: Backslash interpretation in brace expansion

2011-07-29 Thread Chet Ramey
On 7/29/11 8:54 PM, Christopher Down wrote: > Hi, > > Is backslash interpretation when being generated through brace > expansion intended functionality? I mean sure, brace expansion happens > first, but this seems kind of unintuitive. > > $ printf '<%q>' {A..z} > <\[><''><\]><\^><_><\`> > > The

Backslash interpretation in brace expansion

2011-07-29 Thread Christopher Down
Hi, Is backslash interpretation when being generated through brace expansion intended functionality? I mean sure, brace expansion happens first, but this seems kind of unintuitive. $ printf '<%q>' {A..z} <\[><''><\]><\^><_><\`> The character between [ and ] should be 5C ($'\134'), '\'. Thanks,