diff --git a/astro b/astro index c2e6628..e8072e7 100755 --- a/astro +++ b/astro @@ -161,7 +161,7 @@ parseurl() { } typesetgmi() { - while IFS='' read -r line + while IFS='' read -r line || [ -n "$line" ]; do line="$(echo "$line" | tr -d '\r')" # shellcheck disable=SC2016