From e0ed64092db25f98d3665605693255c3192efeb2 Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 22 Aug 2022 13:18:02 +0200 Subject: updates from laptop --- scripts/Scripts/setwall | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/Scripts') diff --git a/scripts/Scripts/setwall b/scripts/Scripts/setwall index 25bcfb0..d34ed8d 100755 --- a/scripts/Scripts/setwall +++ b/scripts/Scripts/setwall @@ -7,7 +7,8 @@ BINNAME="setwall" function unsetwalls() { for wall in $@; do echo unsetting $wall - sed -i.bak ":$wall:d" $WALLFILE + pat=$(echo $wall | sed 's/\//\\\//g') + sed -i.bak "/$pat/d" $WALLFILE done } function unsetcur() { -- cgit v1.2.3