Debian Bug report logs -
#788346
bash-completion: sh completion only finds files ending in .sh
Reported by: Reuben Thomas <rrt@sc3d.org>
Date: Wed, 10 Jun 2015 12:45:11 UTC
Severity: normal
Merged with 861059
Found in versions bash-completion/1:2.1-4, bash-completion/1:2.1-4.3
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#788346; Package bash-completion.
(Wed, 10 Jun 2015 12:45:14 GMT) (full text, mbox, link).
Acknowledgement sent
to Reuben Thomas <rrt@sc3d.org>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Wed, 10 Jun 2015 12:45:14 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: bash-completion
Version: 1:2.1-4
Severity: normal
/usr/share/bash-completion/completions/sh only finds files ending in .sh,
intentionally.
This is unfortunate: sh files often lack a suffix.
Completion for the “bash” command doesn’t have this limitation.
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (400, 'trusty-proposed'), (100, 'trusty-backports'), (90, 'wily-updates'), (90, 'wily')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-53-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash-completion depends on:
ii bash 4.3-7ubuntu1.5
ii dpkg 1.17.5ubuntu5.4
bash-completion recommends no packages.
bash-completion suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#788346; Package bash-completion.
(Fri, 09 Jun 2017 07:39:02 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:39:02 GMT) (full text, mbox, link).
Message #10 received at 788346@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
I am on Wheezy right now and can confirm this behavior (same version of the
package). "/bin/sh" links to "/bin/dash", which also completes non-.sh
files like bash. I think both "/bin/sh" and "/bin/dash" should have the
same completion behavior because they're the same executable.
I'd imagine the behavior is different because upstream did not want to
assume that "sh" links to "dash". This is a bit of a side question, but
would it be a good idea to make "sh" use the same completion as "dash" on
Debian?
Sincerely,
Aditya Vaidya
[Message part 2 (text/html, inline)]
Marked as found in versions bash-completion/1:2.1-4.3.
Request was from Aditya Vaidya <kroq.gar78@gmail.com>
to control@bugs.debian.org.
(Sun, 18 Jun 2017 22:15:03 GMT) (full text, mbox, link).
Merged 788346 861059
Request was from Aditya Vaidya <kroq.gar78@gmail.com>
to control@bugs.debian.org.
(Sun, 18 Jun 2017 22:15:04 GMT) (full text, mbox, link).
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:17 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.