[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorrect completion when quoting last component of path
From: |
Chet Ramey |
Subject: |
Re: Incorrect completion when quoting last component of path |
Date: |
Tue, 3 Jan 2006 10:47:58 -0500 |
> Machine Type: i386-redhat-linux-gnu
>
> Bash Version: 3.1
> Patch Level: 1
> Release Status: release
>
> Description:
> Tab completion is wrong when completing a file path if the
> last component is quoted.
>
> Repeat-By:
> rm -rf arena
> mkdir arena
> cd arena
> mkdir d
> touch d/f
> ls d/'<TAB><TAB><Enter>
>
> Results: ls: d/d/f: No such file or directory
Readline understands single- and double-quoted strings and uses them
as individual words to complete. The quotes are word breaks. This
has been the case for a very long time.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU chet@case.edu http://tiswww.tis.case.edu/~chet/