On Mon, 10 Sep 2007 16:13:12 -0500 Shawn Walker wrote:
> On 10/09/2007, David Korn <dgk at research.att.com> wrote:
> > Subject: Re: Re: [ksh93-integration-discuss] TAB not working in the middle 
> > of a  string
> > --------
> > > Why is the = needed? Bash doesn't require a = before : separated
> > > lists, i.e. using tab or ESC ESC completes /bin:/usr/openbin/b to
> > > /bin:/usr/openwin/bin without a = in a bash shell
> >
> > The = is needed since : is a legal character in a file name.

> You realise, of course, that the next question will be "then why does
> Bash do that...".

> I've checked this out for myself; bash does not require a ':'.

> Any chance of a "bash compatibility" mode or control over this behaviour?

bash also does this for

        echo foo:b<TAB><TAB>

and will not match valid pathnames containing ':'

why does bash do that?


Reply via email to