Your message dated Sat, 04 Apr 2009 13:47:05 +0000
with message-id <[email protected]>
and subject line Bug#512556: fixed in bash-completion 1:1.0-1
has caused the Debian Bug report #512556,
regarding bash-completion: awk syntax error on 'modprobe -r /<tab>'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
512556: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512556
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bash-completion
Version: 20080705
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch jaunty

This bug was originally filed as
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/316654.

Typing 'modprobe -r /<tab>' produces the following output:

  $ modprobe -r /awk: {if (NR != 1 && $1 ~ /^//) print $1}
  awk:                          ^ syntax error

I've attached a bzr bundle fixing this, based on a patch by Martin Mai.
You can merge it with 'bzr merge
/path/to/bash-completion-modprobe.bundle'.

Thanks,

-- 
Colin Watson                                       [[email protected]]
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: [email protected]
# target_branch: lp:bash-completion
# testament_sha1: 4b3a9aabe5570a411f664c851ad972507df1b506
# timestamp: 2009-01-21 18:26:10 +0000
# base_revision_id: [email protected]\
#   90lzvb77z373k070
# 
# Begin patch
=== modified file 'bash_completion'
--- bash_completion     2009-01-19 20:30:58 +0000
+++ bash_completion     2009-01-21 18:25:46 +0000
@@ -835,6 +835,12 @@
        cur=`_get_cword`
        prev=${COMP_WORDS[COMP_CWORD-1]}
 
+       # do filename completion if we're giving a path to a module
+       if [[ "$cur" == */* ]]; then
+               _filedir '@(?(k)o?(.gz))'
+               return 0
+       fi
+
        # behave like lsmod for modprobe -r
        if [ $1 = "modprobe" ] &&
           [ "${COMP_WORDS[1]}" = "-r" ]; then
@@ -843,12 +849,6 @@
                return 0
        fi
 
-       # do filename completion if we're giving a path to a module
-       if [[ "$cur" == */* ]]; then
-               _filedir '@(?(k)o?(.gz))'
-               return 0
-       fi
-
        if [ $COMP_CWORD -gt 1 ] &&
           [[ "${COMP_WORDS[COMP_CWORD-1]}" != -* ]]; then
                # do module parameter completion

=== modified file 'debian/changelog'
--- debian/changelog    2009-01-19 10:53:34 +0000
+++ debian/changelog    2009-01-21 18:25:46 +0000
@@ -99,7 +99,11 @@
   * Add .mp2 and .vdr to mplayer completion (RHBZ: #444467).
   * Add .mkv, .mp2 and .vdr to *xine completion (RHBZ: #444467).
   * Added lzop completion.
-  
+
+  [ Colin Watson ]
+  * modprobe: Check for */* before checking for 'modprobe -r', to avoid
+    spewing an awk syntax error (thanks, Martin Mai; LP: #316654).
+
  -- David Paleino <[email protected]>  Sat, 17 Jan 2009 19:01:16 +0100
 
 bash-completion (20080705) unstable; urgency=low

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWRmelf8AAj9fgEAwXff//9oG
QIq//9/wUAUMPOBRmADbFjhkqPRGTQyAwgNABoYTQAAJJBMIBGShoyNNPUZGJiNMRo0ASmiEEKey
U9TbUaRsp6jeigDaJpp6mQBzAATJgATCYJhDAEYAEkqeRMTAI0yNTak2U8amUZAAaaaaNhSipAnN
m6vwsTPLOjHUQJ0ff7i/LvpUyuUNBGMUDSliZJjJt2qLMueizamo3z3GH5a1FMXMD0tTtNYkmSH6
G8ZWou5mhRMd8EeeY9ucu3mU6xGj7Pj1d7Igg0jr2/wcnQ5N5v7Ovplb4PRa1CDNYOFyOV5PZr5r
a9mE9D3xLrOibxhsYIyXwDcJmjyfG4dufs4w6N9P9wM3FqBSe89TvVyvKmBgMgLlRgT43qcrzRZv
6I+fmHHiolpKuO0+yJiFC7sXJzFSY3iDVpRvTAZnBQaG5PUGXQ6BI4lRSTIUyqkw4vOU6b13YqjK
4ec1VAsasMgJgGdL747Y9/WZJxA0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OfTfjvVqrVBgFwx0oMeiJbYHuVIIvuaxOc4qAG5ixIBIa5ZuH+LuSKcKEgM
z0r/gA==

--- End Message ---
--- Begin Message ---
Source: bash-completion
Source-Version: 1:1.0-1

We believe that the bug you reported is fixed in the latest version of
bash-completion, which is due to be installed in the Debian FTP archive:

bash-completion_1.0-1.diff.gz
  to pool/main/b/bash-completion/bash-completion_1.0-1.diff.gz
bash-completion_1.0-1.dsc
  to pool/main/b/bash-completion/bash-completion_1.0-1.dsc
bash-completion_1.0-1_all.deb
  to pool/main/b/bash-completion/bash-completion_1.0-1_all.deb
bash-completion_1.0.orig.tar.gz
  to pool/main/b/bash-completion/bash-completion_1.0.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Paleino <[email protected]> (supplier of updated bash-completion 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 03 Apr 2009 14:21:43 +0200
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 1:1.0-1
Distribution: unstable
Urgency: low
Maintainer: Bash Completion Maintainers 
<[email protected]>
Changed-By: David Paleino <[email protected]>
Description: 
 bash-completion - programmable completion for the bash shell
Closes: 272660 322238 360628 361535 489927 491856 492328 492476 494292 495142 
495883 496162 496828 497074 497597 498105 499780 500316 501473 501843 502664 
502804 502885 503317 503317 504141 504547 504650 506560 511789 511790 512556 
512823 512917 516614 521041
Changes: 
 bash-completion (1:1.0-1) unstable; urgency=low
 .
   * New upstream release:
     - also see /usr/share/doc/bash-completion/CHANGES.gz
     - fix man -l completing filenames (Closes: #497074)
     - (Partly) fixed java classes completion (Closes: #496828). Look for
       FIXME in source.
     - dump to /dev/null error message from look(1) with no arguments
       (Closes: #495142)
     - set ssh as default for rsync (was rsh) (Closes: #492328)
     - added .oga, .ogv, .ogx to mplayer completion (Closes: #496162)
     - added .epub to unzip|zipinfo completion (Closes: #492476)
     - added ssh-copy-id completion (Closes: #491856)
     - moved ssh completion to separate file (Closes: #360628)
     - bogus completion when mounting subdirs fixed (Closes: #322238)
     - fix `apt-cache showsrc` completing only on source package names
       (Closes: #361535)
     - fixed bugs with gdb completion:
     - when an empty directory is in $PATH (thanks to Morita Sho)
       (Closes: #497597)
     - when a non-existing directory is in $PATH (Closes: #499780)
     - fix missing completion for "-n" and "-e" (we were using echo, now
       using printf) (thanks to Morita Sho) (Closes: #498105)
     - fixed gpg completion --@(export|@(?(l|nr|nrl)sign|edit)-key))
       (Closes: #500316)
     - fixed .cb[rz] completion for evince (Closes: #502885)
     - added gpg2 completion (Closes: #489927)
     - fixed mplayer -skin completion (Closes: #501473)
     - fixed errors with POSIX enabled (Closes: #502804)
     - fixed dpkg-source wrong exit() with return() (Closes: #503317)
     - added --schedule-only to aptitude's completion (Closes: #502664)
     - added build-dep to aptitude's completion (Closes: #495883)
     - added support for `-F configfile' to _known_hosts(), ssh, scp and
       sftp, thanks to Freddy Vulto (Closes: #504141)
     - fixed sed quoting bug in _known_hosts(), thanks to Freddy Vulto
       (Closes: #504650)
     - allow for comments in known_hosts files (Closes: #511789)
     - fixed perl -I/-x completion, thanks to Freddy Vulto
       (Closes: #504547)
     - README updated: explain how to use bash-completion correctly.
       (Closes: #506560)
     - added qdbus completion, thanks to Terence Simpson (LP: #257903)
     - fixed completion of environment variables, thanks to Morita Sho
       (Closes: #272660)
     - fix dpkg completion bug: it listed only non-Essential packages
       (Closes: #511790)
     - fixed _dpkg_source completion (Closes: #503317)
     - remove unused UNAME local variable in _info() (Closes: #501843)
     - added .zip to jar completions (Closes: #521041)
     - Merge from Ubuntu:
       + consume error messages in configure completion (LP: #223882)
         (Mika Fischer)
       + quote $xspec in _filedir_xspec in case it is empty, which would
         cause errors if there was no match under failglob. (LP: #194419)
         (Mika Fischer)
     - Ville Skyttä:
       + remove duplicate cpio completion, thanks to Freddy Vulto
         (Closes: #512823)
       + fix awk error in "modprobe -r /" completion (Closes: #512556)
     - Jakob Unterwurzacher:
       + ps2pdf can run on .pdf files as well.
         (Closes: #516614, LP: #316943)
   * debian/links fixed (Closes: #494292)
   * debian/control:
     - fixed typo in the long description
     - added Vcs-* fields
     - Standards-Version to 3.8.1
     - DMUA set
     - removed Luk Claes from Uploaders
     - Homepage added
   * debian/install:
     - correctly install contrib/* under /etc/bash_completion.d/
   * debian/copyright updated
   * debian/extra/dh_bash-completion:
     - updated to support a list of files in debian/<package>.bash-completion
       (Closes: #512917)
   * debian/rules:
     - install upstream CHANGES and AUTHORS too
Checksums-Sha1: 
 977d1414ca3556a4ad46aa2b48b9ca8e6e86a603 1308 bash-completion_1.0-1.dsc
 61040795731f5ff509c46e818a1edf0a7a93e11d 143578 bash-completion_1.0.orig.tar.gz
 49c583802082e3aa9a761fb0da0d5ec257f257bb 9002 bash-completion_1.0-1.diff.gz
 cb38e807d9b23e84b866e6e9d24814991a61836a 103010 bash-completion_1.0-1_all.deb
Checksums-Sha256: 
 d369f9436c02262d3de898564cd9b5269ace760cf6b7e0632e3b251ac431f2b5 1308 
bash-completion_1.0-1.dsc
 bd96e7d2858f02783046908a984993736f1189d07d82e9ce4b465068dd7187ef 143578 
bash-completion_1.0.orig.tar.gz
 04c46eff31bf9dfb9e79f417bd79706b6dc67888461ab05128b29cff78c9556b 9002 
bash-completion_1.0-1.diff.gz
 81ab4b27a2158e787ea39c7da34619858a5df6b6251ba24d8bda6592feed46f4 103010 
bash-completion_1.0-1_all.deb
Files: 
 6cb01d355c4519f911820b2b7c0feb53 1308 shells standard bash-completion_1.0-1.dsc
 cd1c5648272917fbe0eef4ba30bb93f4 143578 shells standard 
bash-completion_1.0.orig.tar.gz
 e78d5e31ed66fb5e97c77ea7c9f1b343 9002 shells standard 
bash-completion_1.0-1.diff.gz
 aefc9e1c8db0f4f2b61557c2e207ca0c 103010 shells standard 
bash-completion_1.0-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknXYZAACgkQ5UTeB5t8Mo0jGACfQVygJmdQ3v4i/dymRnZSVnhA
qHoAnjcS99HMQgFHzQ2NnNAY1OPvlPK6
=6i7t
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Bash-completion-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to