commit 8fe859561f038f4e7ddfb5ee5dc620c7f5f64eca
parent 98dd5aa305feb86d0ecb6e5f6b0c578519610382
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 22 Nov 2019 09:42:58 +0100
Use read -r to capture stdin
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)"
-read message
+read -r message
for r in "$@"; do
case "$r" in
susan)