]> git.pld-linux.org Git - packages/bash-completion.git/commitdiff
- backslashes are important to shell; don't forget them if command is broken into...
authorAdam Osuchowski <adwol@pld-linux.org>
Fri, 22 Oct 2021 20:32:57 +0000 (22:32 +0200)
committerAdam Osuchowski <adwol@pld-linux.org>
Fri, 22 Oct 2021 20:32:57 +0000 (22:32 +0200)
bash-completion-ip_addresses.patch
bash-completion.spec

index 41c7ec81e7917ee84e93365a1952fe9388d4f9dc..720be3be2a05e68b08f6bb9891763c6eefbddbcd 100644 (file)
@@ -10,8 +10,8 @@
 -        command sed -e 's/[[:space:]]addr:/ /' -ne \
 -            "s|.*inet${n}[[:space:]]\{1,\}\([^[:space:]/]*\).*|\1|p")
 +    local addrs=$(
-+        LC_ALL=C ip -o addr show
-+    2>/dev/null |
++        LC_ALL=C ip -o addr show \
++    2>/dev/null | \
 +      command awk '{ gsub(/\/.*$/, "", $4); print $4 }' | sort)
      COMPREPLY+=($(compgen -W "$addrs" -- "${cur-}"))
  }
index 9a1854ff5a9fed6944361e0a8f1a04ceacec03db..871e64d29f0016e4cfa3e7cbf71526e0058dcc20 100644 (file)
@@ -6,7 +6,7 @@ Summary:        bash-completion offers programmable completion for bash
 Summary(pl.UTF-8):     Programowalne uzupełnianie nazw dla basha
 Name:          bash-completion
 Version:       2.11
-Release:       1
+Release:       2
 Epoch:         1
 License:       GPL v2+
 Group:         Applications/Shells
This page took 0.074968 seconds and 4 git commands to generate.