diff options
| author | Zach DeCook <zachdecook@librem.one> | 2022-04-28 12:40:16 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2022-04-28 12:40:16 -0400 |
| commit | 91eb3b00326004f6406b54f21f142121ae241d99 (patch) | |
| tree | dcc7a49da31d92caafdefbd781b52c730a8ba7e8 | |
| parent | 85d01bca438180ef4ebd0ac6e6c4377c2f524197 (diff) | |
| download | gurglesolver-91eb3b00326004f6406b54f21f142121ae241d99.tar.gz | |
whatToDo: allow overriding threshold
| -rwxr-xr-x | whatToDo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/whatToDo.sh b/whatToDo.sh index 8c93daf..9b86e7b 100755 --- a/whatToDo.sh +++ b/whatToDo.sh @@ -1,7 +1,7 @@ #!/bin/sh LIST="$(cat -)" -if test "$(echo "$LIST" | wc -l)" -lt 13; then +if test "$(echo "$LIST" | wc -l)" -lt ${2:-13}; then # Get the answer on your next guess echo "$LIST" else |
