From 1a454fd9704391f35f857c3bd12d5eb6747b1a0d Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Thu, 21 Oct 2021 12:07:33 -0400 Subject: swipeGuess: support single quotes (apostrophes) --- swipeGuess.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swipeGuess.sh') diff --git a/swipeGuess.sh b/swipeGuess.sh index 857f792..0779986 100755 --- a/swipeGuess.sh +++ b/swipeGuess.sh @@ -3,7 +3,7 @@ source "$(dirname "$0")/functions.sh" swipeToQuery(){ - swipe=$(echo "$1" | tr -d "'.\*\"\\^$\(\)") + swipe=$(echo "$1" | tr -d ".\*\"\\^$\(\)") printf '^' printf "${swipe:0:2}" if test "${swipe:2}"; then -- cgit 1.4.1