diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hackvr_uri | 2 | ||||
-rwxr-xr-x | bin/makelabel.sh | 2 |
2 files changed, 2 insertions, 2 deletions
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) diff --git a/bin/makelabel.sh b/bin/makelabel.sh index 1f8a68a..90f908a 100755 --- a/bin/makelabel.sh +++ b/bin/makelabel.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash USAGE="usage: makelabel.sh labelname x y z < labelcontent" -target="$1" +target="$(printf "%s\n" "$1" | sed 's|\([/\&]\)|\\\1|g')" xoffset=$2 yoffset=$3 zoffset=$4 |