From 178ca5c659244b19c390b0700a4218215dc6fb3d Mon Sep 17 00:00:00 2001 From: epoch Date: Thu, 2 Apr 2020 02:36:08 -0500 Subject: made the xargs in hackvr_uri use the GNU extension -r to not run anything if there are not any lines of input --- bin/hackvr_uri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/hackvr_uri') diff --git a/bin/hackvr_uri b/bin/hackvr_uri index d4e3b3a..7907d9b 100755 --- a/bin/hackvr_uri +++ b/bin/hackvr_uri @@ -4,4 +4,4 @@ hackvr \ | tee \ >(sed -un "s/$USER *action *<\([^ ]*\)>/\1/p" \ | stdbuf -o0 tr '\n' '\0' \ - | xargs -n1 -P 0 -0 copy_start_nevermind.sh 2>&1 >/dev/null) + | xargs -n1 -r -P 0 -0 copy_start_nevermind.sh 2>&1 >/dev/null) -- cgit v1.2.3