commit 2f494a1864c6a98c90c4863c29d2a1fd94eab116
parent 6d29c8ebb87d40f4fc858449508d281768cba1d2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 22 Nov 2019 09:36:50 +0100
Read stdin with read instead of cat
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/sendtext b/.local/bin/sendtext
@@ -70,7 +70,7 @@ if [ $# -lt 1 ]; then
fi
authstring="$(pass Online/twilio-account-sid):$(pass Online/twilio-auth-token)"
-message="$(cat)"
+read message
for r in "$@"; do
case "$r" in
susan)