[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrong prompt and incorrect parsing if completion is used
From: |
Chet Ramey |
Subject: |
Re: Wrong prompt and incorrect parsing if completion is used |
Date: |
Thu, 12 Aug 2010 15:23:22 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 |
On 8/9/10 12:02 PM, Egmont Koblinger wrote:
> Hello,
>
> I've found a weird behavior. In some circumstances, if I use TAB completion
> during typing a command line, the final command is parsed differently than
> if I typed it all along.
>
> I'm on Ubuntu Lucid. The bug described below occurs only if I use the
> bash-completion package (that is, I source /etc/bash_completion - it can be
> found at http://packages.ubuntu.com/lucid/bash-completion ). However, the
> behavior suggests that probably it's a bug in bash itself, not the
> bash-completion package.
Maybe. Before I take a closer look at this, what does running the
offending set of commands with `set -x' enabled show?
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/