Debian Bug report logs - #833059
coreutils: "du --exclude='*.jpg' /<Tab>" doesn't autocomplete

Package: bash-completion; Maintainer for bash-completion is Gabriel F. T. Gomes <gabriel@debian.org>; Source for bash-completion is src:bash-completion (PTS, buildd, popcon).

Reported by: Askar Safin <safinaskar@mail.ru>

Date: Sun, 31 Jul 2016 10:48:01 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, safinaskar@mail.ru, Michael Stone <mstone@debian.org>:
Bug#833059; Package coreutils. (Sun, 31 Jul 2016 10:48:05 GMT) (full text, mbox, link).


Acknowledgement sent to Askar Safin <safinaskar@mail.ru>:
New Bug report received and forwarded. Copy sent to safinaskar@mail.ru, Michael Stone <mstone@debian.org>. (Sun, 31 Jul 2016 10:48:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Askar Safin <safinaskar@mail.ru>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: coreutils: "du --exclude='*.jpg' /<Tab>" doesn't autocomplete
Date: Sun, 31 Jul 2016 13:44:48 +0300
Package: coreutils
Version: 8.23-4
Severity: normal

Type the following:
du --exclude='*.jpg' /<Tab>

You will see that <Tab> doesn't autocomplete. "du /<Tab>" works normally.
bash-completion is installed. The following is uncommented in /etc/bash.bashrc:

# enable bash completion in interactive shells
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

Completion works normally in other utils (such as dpkg and apt).

-- System Information:
Debian Release: 8.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages coreutils depends on:
ii  libacl1      2.2.52-2
ii  libattr1     1:2.4.47-2
ii  libc6        2.19-18+deb8u4
ii  libselinux1  2.3-2

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information



Bug reassigned from package 'coreutils' to 'bash-completion'. Request was from Michael Stone <mstone@debian.org> to control@bugs.debian.org. (Sun, 31 Jul 2016 14:21:03 GMT) (full text, mbox, link).


No longer marked as found in versions coreutils/8.23-4. Request was from Michael Stone <mstone@debian.org> to control@bugs.debian.org. (Sun, 31 Jul 2016 14:21:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#833059; Package bash-completion. (Fri, 09 Jun 2017 07:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to Aditya Vaidya <kroq.gar78@gmail.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Fri, 09 Jun 2017 07:48:03 GMT) (full text, mbox, link).


Message #14 received at 833059@bugs.debian.org (full text, mbox, reply):

From: Aditya Vaidya <kroq.gar78@gmail.com>
To: 833059@bugs.debian.org
Date: Fri, 9 Jun 2017 00:44:39 -0700
[Message part 1 (text/plain, inline)]
I'm on Wheezy with bash-completion version 2.1-4 and I can confirm. I
believe I have also narrowed the bug down.

This lists files in root:

$ du --exclude=asdf /<TAB>

But this (with quotes) does not:

$ du --exclude="asdf" /<TAB>

After a quick survey, it seems like it happens to all options that have an
equals sign (=) in them.

Sincerely,
Aditya Vaidya
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 09:13:01 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.