aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/urlh3
1 files changed, 3 insertions, 0 deletions
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 {