diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-14 14:41:42 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-14 14:41:42 +1200 |
commit | 70d7ff7b7c254c748cd8193e17e3ed60f29f4f2b (patch) | |
tree | 5d1cd71157e929d77f71fd08045bf1f40840c46a /bin/urlh | |
parent | Add sd2u(1) and su2d(1) (diff) | |
download | dotfiles-70d7ff7b7c254c748cd8193e17e3ed60f29f4f2b.tar.gz dotfiles-70d7ff7b7c254c748cd8193e17e3ed60f29f4f2b.zip |
Have urlh(1) convert line endings
Diffstat (limited to 'bin/urlh')
-rwxr-xr-x | bin/urlh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 { |