~jjo/bash-completion/fix-bash43-quote_readline_by_ref-tilde-and-double_escaping

« back to all changes in this revision

Viewing changes to completions/wol

  • Committer: Package Import Robot
  • Author(s): Dimitri John Ledkov
  • Date: 2013-12-27 01:28:28 UTC
  • mfrom: (5.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20131227012828-svk9wdy2ghic0cfh
Tags: 1:2.1-2ubuntu1
* Resync with Debian, remaining diff
  * debian/patches/disable-avahi-browse.diff: Disable avahi-browse since
    it scales poorly in the current form: refresh patch
  * mark Multi-Arch:foreign
  * debian/maintscript, debian/postinst:
    - clean etc conffiles on upgrade since completion files are in /usr
      with the new version
  * patches/101_bash_completion.oga_ogv.patch: Increase support for other
    OGG formats including .oga, .ogx, etc. (LP: #311525)

* Dropped changes:
  - patches/103_colormake.patch: Add support for colormake to the make
    completion rules. (LP: #743208)

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
            ;;
12
12
        -h|--host|-i|--ipaddr)
13
13
            # Broadcast addresses
14
 
            COMPREPLY=( $( PATH=$PATH:/sbin ifconfig -a 2>/dev/null | \
15
 
                sed -ne 's/.*[[:space:]]\{1,\}Bcast:\([^[:space:]]*\).*/\1/p' \
16
 
                    -e 's/.*[[:space:]]\{1,\}broadcast[[:space:]]\{1,\}\([^[:space:]]*\).*/\1/p' ) )
 
14
            local PATH=$PATH:/sbin
 
15
            COMPREPLY=( $( { ip addr show || ifconfig -a; } 2>/dev/null | \
 
16
                sed -ne 's/.*[[:space:]]Bcast:\([^[:space:]]*\).*/\1/p' -ne \
 
17
                's/.*inet.*[[:space:]]brd[[:space:]]\([^[:space:]]*\).*/\1/p' -ne \
 
18
                's/.*[[:space:]]broadcast[[:space:]]\{1,\}\([^[:space:]]*\).*/\1/p' ) )
17
19
            _known_hosts_real "$cur"
18
20
            return 0
19
21
            ;;