[Bug 778679] Re: _available_interfaces fails without gawk installed
Peter Cordes
peter at cordes.ca
Sat Nov 29 12:54:14 UTC 2014
** Changed in: bash-completion (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/778679
Title:
_available_interfaces fails without gawk installed
Status in bash-completion package in Ubuntu:
Fix Released
Bug description:
Binary package hint: bash-completion
Ubuntu 10.04.2 LTS
bash-completion 1:1.1-3ubuntu2
mawk 1.3.3-15ubuntu2
bash-completion uses '[:space:]' syntax for character class, which is
supported by gawk, but not mawk, which Ubuntu uses to provide awk by
default.
Test:
bash-4.1$ _available_interfaces; echo ${COMPREPLY[*]}
Expected:
eth0 lo
Got:
<nothing>
Fix by requiring gawk, or changing line 517 of /etc/bash_completion to
use '[^ ^I^M]' to match non-whitespace characters.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/778679/+subscriptions
More information about the foundations-bugs
mailing list