diff options
| author | Zach DeCook <zachdecook@librem.one> | 2021-10-21 12:07:33 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2021-10-21 12:07:33 -0400 |
| commit | 1a454fd9704391f35f857c3bd12d5eb6747b1a0d (patch) | |
| tree | 1e785063474220f9decc7da18342fd7a35a3473f /swipeGuess.sh | |
| parent | 1a16ce09dd470ef5ddc6fd45c5a9bebea7c271b7 (diff) | |
| download | swipeGuess-1a454fd9704391f35f857c3bd12d5eb6747b1a0d.tar.gz | |
swipeGuess: support single quotes (apostrophes)
Diffstat (limited to 'swipeGuess.sh')
| -rwxr-xr-x | swipeGuess.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
