From bd88d90e945cbd0fcf3aa409559e8a4b0e6f91b1 Mon Sep 17 00:00:00 2001 From: Poobslag Date: Sun, 4 Jul 2021 15:57:01 -0400 Subject: [PATCH] Delint script also catches back quotes --- delint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/delint.sh b/delint.sh index 25800f1b5..471483b91 100644 --- a/delint.sh +++ b/delint.sh @@ -76,11 +76,11 @@ fi git diff master | grep print\( # non-ascii characters in chat files -grep -R -n "[…’”]" --include="*.chat" project/assets +grep -R -n "[…’“”]" --include="*.chat" project/assets if [ "$CLEAN" ] then # replace non-ascii characters with ascii replacements find project/assets -name "*.chat" -exec sed -i "s/[…]/.../g" {} + find project/assets -name "*.chat" -exec sed -i "s/[’]/\'/g" {} + - find project/assets -name "*.chat" -exec sed -i "s/[”]/\"/g" {} + + find project/assets -name "*.chat" -exec sed -i "s/[“”]/\"/g" {} + fi