jo...@bec.de (Joerg Sonnenberger) writes:

>touch 'foo bar'
>ls foo<TAB>

Pressing TAB after foo yields:

$ touch 'foo bar'
$ ls foo\ bar 
foo bar

But

$ touch 'foo*bar'
$ ls foo<TAB><TAB>
foo bar  foo*bar
$ ls foo*<TAB>bar
foo bar foo*bar

Somewhere sh knows that a space needs quoting but not a '*'. It
also doesn't understand quotes on input:

$ rm foo\<SPACE><TAB>
Display all 411 possibilities? (y or n)

-- 
-- 
                                Michael van Elst
Internet: mlel...@serpens.de
                                "A potential Snark may lurk in every tree."

Reply via email to