[Bug 778679] Re: _available_interfaces fails without gawk installed

Daniel Black 778679 at bugs.launchpad.net
Mon Jan 9 02:43:52 UTC 2012


checked upstream and all awk uses with character classes has been removed:
http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=blob_plain;f=bash_completion;hb=HEAD

-- 
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:
  New

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