From 91eb3b00326004f6406b54f21f142121ae241d99 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Thu, 28 Apr 2022 12:40:16 -0400 Subject: whatToDo: allow overriding threshold --- whatToDo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1