From 65ed4416d6b0e55c54bfa64fbf6cb4176fe43c31 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Wed, 21 Nov 2018 23:02:24 +0000 Subject: Use read -r to avoid input file characters being escaped --- certexpiry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certexpiry.sh b/certexpiry.sh index 72ef8f8..d768400 100755 --- a/certexpiry.sh +++ b/certexpiry.sh @@ -9,7 +9,7 @@ HOSTSANDPORTS="hostsandports.txt" # ==== Variables ==== # Loop through all host:port combinations -while read HOSTANDPORT ; do +while read -r HOSTANDPORT ; do # echo "DEBUG: HOSTANDPORT: $HOSTANDPORT." -- cgit v1.2.3