From 70d7ff7b7c254c748cd8193e17e3ed60f29f4f2b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 14 Aug 2016 14:41:42 +1200 Subject: Have urlh(1) convert line endings --- bin/urlh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/urlh b/bin/urlh index a9ea93fd..2c547ad0 100755 --- a/bin/urlh +++ b/bin/urlh @@ -14,6 +14,9 @@ curl -I -- "$url" | # Unfold the headers unf | +# Change the line endings to UNIX format +sd2u | + # Use awk to find any values for the header case-insensitively awk -v header="$header" ' BEGIN { -- cgit v1.2.3