-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: hackvr
action: commit
revision:
path_from:
revision_from: 71886960c496c867cef03e0c1e154f8fb9d58275:
path_to:
revision_to:

git.thebackupbox.net

hackvr

git://git.thebackupbox.net/hackvr

commit 71886960c496c867cef03e0c1e154f8fb9d58275
Author: epoch <epoch@hacking.allowed.org>
Date:   Thu Apr 2 02:38:27 2020 -0500

    escaped a couple problematic characters for sed with sed

diff --git a/bin/makelabel.sh b/bin/makelabel.sh

index 1f8a68a6c9e62f26138d729149cddb173b4bf206..

index ..90f908af5f860337175e70d8b5dd0903d30ac333 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

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 16:47:10 2024