On Sun 16 Jan 2005 at 12:26:56 +0100, you wrote:

Content-Description: forwarded message
> X-Loop: [EMAIL PROTECTED]
> Reply-To: Lionel Elie Mamane <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Original-Sender: Lionel Elie Mamane <[EMAIL PROTECTED]>
> X-Debian-PR-Message: report 282799
> X-Debian-PR-Package: bash
> X-Debian-PR-Keywords: 
> X-Reportbug-Version: 3.2
> X-Operating-System: GNU/Linux
> X-Request-PGP: http://www.mamane.lu/openpgp/dh4096.asc
> User-Agent: Mutt/1.5.6+20040907i
> Delivered-To: [EMAIL PROTECTED]
> X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de (including spamassassin)
> X-Spam-Status: No, hits=0 tagged_above=0 required=3 tests=
> X-Spam-Level: 
> Resent-From: Lionel Elie Mamane <[EMAIL PROTECTED]>
> Resent-To: debian-bugs-dist@lists.debian.org
> Resent-Cc: Matthias Klose <[EMAIL PROTECTED]>
> Resent-Date: Wed, 24 Nov 2004 16:33:02 UTC
> Resent-Message-ID: <[EMAIL PROTECTED]>
> Resent-Sender: Debian BTS <[EMAIL PROTECTED]>
> From: Lionel Elie Mamane <[EMAIL PROTECTED]>
> To: Debian Bug Tracking System <[EMAIL PROTECTED]>
> Subject: Bug#282799: bash: Completion of fd redirect after find command 
> limited to directories
> Date: Wed, 24 Nov 2004 17:16:02 +0100
> 
> Package: bash
> Version: 3.0-10
> Severity: normal
> 
>  find > foo
> ask for autocompletion there, only directories are taken into
> account.
>  ls > foo
> or
>  cat > foo
> autocomplete to all filenames (directories and non-directories), as it
> should.

This is a limitation of the completion mechanism. There's no easy way to
detect redirection at arbitrary positions on the command line and act
accordingly. To do so would require each command completion function to
handle redirection internally. A more generic solution is required at
the bash level itself.

Ian
-- 
Ian Macdonald               | QOTD:  "I ain't broke, but I'm badly bent."
System Administrator        | 
[EMAIL PROTECTED]             | 
http://www.caliban.org      | 
                            | 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to