[wiki] [sites] tools.suckless.org: quote another command substitution that needs quoting :) || Emanuele Torre

From: <git_AT_suckless.org>
Date: Fri, 28 May 2021 09:24:09 +0200

commit 83457733a101da51a9fac8b321d5664d3810275a
Author: Emanuele Torre <torreemanuele6_AT_gmail.com>
Date: Fri May 28 09:22:53 2021 +0200

    tools.suckless.org: quote another command substitution that needs quoting :)

diff --git a/tools.suckless.org/dmenu/patches/non_blocking_stdin/index.md b/tools.suckless.org/dmenu/patches/non_blocking_stdin/index.md
index 7213b325..c1578eda 100644
--- a/tools.suckless.org/dmenu/patches/non_blocking_stdin/index.md
+++ b/tools.suckless.org/dmenu/patches/non_blocking_stdin/index.md
_AT_@ -35,7 +35,7 @@ Supported Control Characters:
 Example:
         # Make a fifo and read from it for dmenu's input
         mkfifo foo
- while true; do cat foo; done | dmenu -w $(xdotool getactivewindow) -l 10
+ while true; do cat foo; done | dmenu -w "$(xdotool getactivewindow)" -l 10
         
         # And then separately, load a first set of options:
         printf %b " foo
bar
bill" > foo
Received on Fri May 28 2021 - 09:24:09 CEST

This archive was generated by hypermail 2.3.0 : Fri May 28 2021 - 09:25:25 CEST