Re: Why escape char `:' with `\' when auto completing filenames?

2011-02-20 Thread Chet Ramey
On 2/18/11 6:52 AM, Clark J. Wang wrote: > > Sth was wrong for my testing. I removed @ from COMP_WORDBREAKS but > afterwards one bind command (bind "set bell-style none") added @ back. I can't reproduce this: $ echo $BASH_VERSION 4.2.0(22)-maint $ echo ${COMP_WORDBREAKS} "'@><=;|&(: $ COMP_WORD

Re: [bash4.2] ${v//[/} bug?

2011-02-20 Thread Clark J. Wang
On Sat, Feb 19, 2011 at 1:02 PM, Chet Ramey wrote: > On 2/15/11 10:16 PM, Clark J. Wang wrote: > > On Wed, Feb 16, 2011 at 9:59 AM, Chet Ramey > > wrote: > > > > On 2/15/11 6:18 AM, Clark J. Wang wrote: > > > For following script: > > > > > > var='[hel

Re: Why escape char `:' with `\' when auto completing filenames?

2011-02-20 Thread Clark J. Wang
On Mon, Feb 21, 2011 at 9:21 AM, Chet Ramey wrote: > On 2/18/11 6:52 AM, Clark J. Wang wrote: > > > > > Sth was wrong for my testing. I removed @ from COMP_WORDBREAKS but > > afterwards one bind command (bind "set bell-style none") added @ back. > > I can't reproduce this: > > $ echo $BASH_VERSIO

Re: Why escape char `:' with `\' when auto completing filenames?

2011-02-20 Thread Clark J. Wang
On Mon, Feb 21, 2011 at 9:21 AM, Chet Ramey wrote: > On 2/18/11 6:52 AM, Clark J. Wang wrote: > > > > > Sth was wrong for my testing. I removed @ from COMP_WORDBREAKS but > > afterwards one bind command (bind "set bell-style none") added @ back. > > I can't reproduce this: > > $ echo $BASH_VERSIO