On Mon 05 Sep 2005 at 14:21:56 +0200, you wrote: > X-Loop: [EMAIL PROTECTED] > Reply-To: Javier Kohen <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > X-Debian-PR-Message: report 310456 > X-Debian-PR-Package: bash > X-Debian-PR-Keywords: > X-Comment: RFC 2476 MSA function at avas-mr03.fibertel.com.ar logged sender > identity as: jkohen > X-Mailer: reportbug 3.12 > X-Fib-Al-Info: Al > X-Fib-Al-MRId: 64db35a7551b038591d7ac795baf647d > X-Fib-Al-From: [EMAIL PROTECTED] > 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: Javier Kohen <[EMAIL PROTECTED]> > Resent-To: debian-bugs-dist@lists.debian.org > Resent-Cc: Matthias Klose <[EMAIL PROTECTED]> > Resent-Date: Mon, 23 May 2005 18:33:04 UTC > Resent-Message-ID: <[EMAIL PROTECTED]> > Resent-Sender: Debian BTS <[EMAIL PROTECTED]> > From: Javier Kohen <[EMAIL PROTECTED]> > To: Debian Bug Tracking System <[EMAIL PROTECTED]> > Subject: Bug#310456: completion: sudo invoke-rc.d basename: too few arguments > Date: Mon, 23 May 2005 15:26:42 -0300 > > Package: bash > Version: 3.0-14 > Severity: minor > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Trying to complete on "sudo invoke-rc.d" causes the following error > messages to be displayed: > > [EMAIL PROTECTED]:~$ sudo invoke-rc.d basename: too few arguments > Try `basename --help' for more information. > bash: [: ==: unary operator expected > basename: too few arguments > Try `basename --help' for more information. > bash: [: ==: unary operator expected > > Plainly completing on invoke-rc.d doesn't cause this problem, same for > sudo with other commands (xine, ls, synaptic, etc.).
I can't reproduce this here. sudo's completion function doesn't even use basename. In fact, none of the completion functions do. Ian -- Ian Macdonald | Booker's Law: An ounce of application is [EMAIL PROTECTED] | worth a ton of abstraction. http://www.caliban.org/ | | | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]