config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 2021d70b7b0f16b46dd8d56880f2bee1c4c52673
parent 9bf2d574813d4fedabbbc055c41e19a080229493
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Tue, 12 Mar 2024 10:50:40 -0700

Fix xnetquery shell globbing bug

I didn't know that $(...) unquoted was subject to shell globbing,
but it is (and is even documented in the manual).

Diffstat:
Mlocal/bin/bin/xnetquery | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/local/bin/bin/xnetquery b/local/bin/bin/xnetquery @@ -1,5 +1,5 @@ -#!/bin/sh +#!/bin/sh -x # Copyright 2021 Jacob R. Edwards # Graphical netquery wrapper -netquery $(xinput netquery) | xgrab +netquery "$(xinput netquery)" | xgrab