Package: wireless-tools
Version: 30~pre9-5
Severity: minor
Tags: patch

When trying a tab-comletion for iwconfig <interface> rate, I get an awk error:

# iwconfig wlan0 rate awk: /^[[:space:]]*[0-9]/ {print $1\"M\"}
awk:                               ^ backslash not last character on line
awk: /^[[:space:]]*[0-9]/ {print $1\"M\"}
awk:                               ^ backslash not last character on line

auto   fixed  

removing the two superfluous backslashes gets me rid of the error. My wlan 
driver does not report rates, so  down*t know if it works right, but seems to 
be sane to me.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-4-686 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wireless-tools depends on:
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib
ii  libiw30                       30~pre9-4  Wireless tools - library

wireless-tools recommends no packages.

wireless-tools suggests no packages.

-- no debconf information
--- /etc/bash_completion.d/wireless-tools~      2009-11-14 23:45:30.000000000 
+0100
+++ /etc/bash_completion.d/wireless-tools       2010-09-22 00:31:39.000000000 
+0200
@@ -55,7 +55,7 @@
             COMPREPLY=( $( compgen -W 'auto fixed' -- "$cur" ) )
             COMPREPLY=( "${comprep...@]}" $( compgen -W \
                 "$( iwlist ${COMP_WORDS[1]} rate | \
-                awk '/^[[:space:]]*[0-9]/ {print $1\"M\"}' )" -- "$cur" ) )
+                awk '/^[[:space:]]*[0-9]/ {print $1"M"}' )" -- "$cur" ) )
             return 0
             ;;
         rts|frag)

Reply via email to