diff options
| author | Zach DeCook <zachdecook@librem.one> | 2021-10-10 01:18:07 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2021-10-10 01:18:07 -0400 |
| commit | 7187e808624ad954ff44d24062d3255f245340d6 (patch) | |
| tree | c6347c50bddee8aa21324229e99d7ab71ddb35c3 /swipeGuess.sh | |
| parent | c10522383a0c4908f0d65b2ff302b45640b5185a (diff) | |
| download | swipeGuess-7187e808624ad954ff44d24062d3255f245340d6.tar.gz | |
command: remove more characters that could mess up grep
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 fe52bbd..092c1ee 100755 --- a/swipeGuess.sh +++ b/swipeGuess.sh @@ -1,7 +1,7 @@ #!/bin/sh swipeToQuery(){ - swipe=$(echo "$1" | tr -d "'") + swipe=$(echo "$1" | tr -d "'.\*\"\\^$\(\)") printf '^' printf "${swipe:0:2}" if test "${swipe:2}"; then |
