diff options
author | Julian T <julian@jtle.dk> | 2022-08-22 13:18:02 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2022-08-22 13:20:26 +0200 |
commit | e0ed64092db25f98d3665605693255c3192efeb2 (patch) | |
tree | c79697e7e784d24df887726cb4515cabe8c34e47 /scripts/Scripts | |
parent | 94eac62995ea3605faf2e3d3f902a6ea92e7f487 (diff) |
updates from laptop
Diffstat (limited to 'scripts/Scripts')
-rwxr-xr-x | scripts/Scripts/setwall | 3 |
1 files changed, 2 insertions, 1 deletions
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() { |