Debian Bug report logs - #742126
bash-completion: "dd if=" completion broken

version graph

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: Félix Sipma <felix+debian@gueux.org>

Date: Wed, 19 Mar 2014 13:33:01 UTC

Severity: normal

Found in version bash-completion/1:2.1-2

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, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#742126; Package bash-completion. (Wed, 19 Mar 2014 13:33:06 GMT) (full text, mbox, link).


Acknowledgement sent to Félix Sipma <felix+debian@gueux.org>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Wed, 19 Mar 2014 13:33:06 GMT) (full text, mbox, link).


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

From: Félix Sipma <felix+debian@gueux.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion: "dd if=" completion broken
Date: Wed, 19 Mar 2014 14:29:08 +0100
[Message part 1 (text/plain, inline)]
Package: bash-completion
Version: 1:2.1-2
Severity: normal

dd <TAB> successfully completes dd options (if=, bs=, ...) but then,
"dd if=deb<TAB>" completes to "dd debian.iso" (removing the "if=").

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash  4.3-2
ii  dpkg  1.17.6

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#742126; Package bash-completion. (Thu, 20 Mar 2014 12:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ville Skyttä <ville.skytta@iki.fi>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Thu, 20 Mar 2014 12:51:04 GMT) (full text, mbox, link).


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

From: Ville Skyttä <ville.skytta@iki.fi>
To: Félix Sipma <felix+debian@gueux.org>, 742126@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#742126: bash-completion: "dd if=" completion broken
Date: Thu, 20 Mar 2014 14:49:52 +0200
Probably yet another bash 4.3 thing, works fine for me with 4.2.45.



Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#742126; Package bash-completion. (Tue, 15 Jul 2014 10:54:04 GMT) (full text, mbox, link).


Acknowledgement sent to Herman van Rink <rink@initfour.nl>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Tue, 15 Jul 2014 10:54:04 GMT) (full text, mbox, link).


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

From: Herman van Rink <rink@initfour.nl>
To: 742126@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#742126: bash-completion: "dd if=" completion broken
Date: Tue, 15 Jul 2014 12:42:41 +0200
I noticed the same problem under Ubuntu 14.04.

ii  bash                          4.3-7ubuntu1
ii  bash-completion               1:2.1-4

A related question is on:
https://answers.launchpad.net/ubuntu/+question/242440

There a workaround is mentioned, quoting the part after if=

e.g.  dd if="/dev/s<TAB>

-- 

Met vriendelijke groet / Regards,

Herman van Rink
Initfour websolutions




Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#742126; Package bash-completion. (Thu, 21 Jan 2016 15:36:04 GMT) (full text, mbox, link).


Acknowledgement sent to Wouter Verhelst <w@uter.be>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Thu, 21 Jan 2016 15:36:04 GMT) (full text, mbox, link).


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

From: Wouter Verhelst <w@uter.be>
To: 742126@bugs.debian.org
Subject: Not just dd
Date: Thu, 21 Jan 2016 16:01:21 +0100
Wanted to chime in that this bug is not dd-specific; that is, I get it
with other commands, too.

The problem seems to occur whenever there is a "=" sign in the command.

-- 
It is easy to love a country that is famous for chocolate and beer

  -- Barack Obama, speaking in Brussels, Belgium, 2014-03-26



Information forwarded to debian-bugs-dist@lists.debian.org, Gabriel F. T. Gomes <gabriel@inconstante.eti.br>:
Bug#742126; Package bash-completion. (Tue, 22 May 2018 10:06:05 GMT) (full text, mbox, link).


Acknowledgement sent to Jonas Linde <jonasjlinde@gmail.com>:
Extra info received and forwarded to list. Copy sent to Gabriel F. T. Gomes <gabriel@inconstante.eti.br>. (Tue, 22 May 2018 10:06:05 GMT) (full text, mbox, link).


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

From: Jonas Linde <jonasjlinde@gmail.com>
To: 742126@bugs.debian.org
Subject: found the culprit
Date: Tue, 22 May 2018 12:03:15 +0200
Bug #781404 is a duplicate of this one (or vice versa).

Following advice from that bug, I managed to fix this problem by removing the completions
file for npm (/etc/bash_completion.d/npm) which removed the = character (and @) from the
global COMP_WORDBREAKS variable which broke completion for other packages, eg. dd and
kubectl.

-- 
Jonas Linde <jonas.j.linde@gmail.com> - http://jonaseel.se/ - +46-707-492496



Information forwarded to debian-bugs-dist@lists.debian.org, Gabriel F. T. Gomes <gabriel@inconstante.eti.br>:
Bug#742126; Package bash-completion. (Fri, 07 Sep 2018 09:51:09 GMT) (full text, mbox, link).


Acknowledgement sent to Marcel <mlautenb@gmail.com>:
Extra info received and forwarded to list. Copy sent to Gabriel F. T. Gomes <gabriel@inconstante.eti.br>. (Fri, 07 Sep 2018 09:51:09 GMT) (full text, mbox, link).


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

From: Marcel <mlautenb@gmail.com>
To: 742126@bugs.debian.org
Subject: "dd if=" completion broken
Date: Fri, 7 Sep 2018 11:47:47 +0200
[Message part 1 (text/plain, inline)]
I have the same problem and could get rid of it by removing the file 
/usr/share/bash-completion/completions/dd . I do not have anything in 
/usr/share/bash_completion.d/ nor do I have problems with other commands.

Cheers,

Marcel


[smime.p7s (application/pkcs7-signature, attachment)]

Send a report that this bug log contains spam.


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

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.