diff options
author | Luke Bratch <luke@bratch.co.uk> | 2018-11-21 23:02:24 +0000 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2018-11-21 23:02:24 +0000 |
commit | 65ed4416d6b0e55c54bfa64fbf6cb4176fe43c31 (patch) | |
tree | f6f6745cc2172281ae296d06e70e684d559b59b3 | |
parent | 229a87c330033463046ca8fbd3a397ea12d0e196 (diff) |
Use read -r to avoid input file characters being escaped
-rwxr-xr-x | certexpiry.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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." |