diff options
author | John Ankarström <john@ankarstrom.se> | 2020-11-22 18:54:41 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-11-22 18:54:41 +0100 |
commit | 3537be9e7c578f8ca84e9d420044654577706a11 (patch) | |
tree | 379184e06cf5907b053bb9ff44d639dedd63a9b4 /xii | |
parent | 9c9207c0141b816e351c62e659079912367dbeff (diff) | |
download | web-3537be9e7c578f8ca84e9d420044654577706a11.tar.gz |
Add more useful headers
Diffstat (limited to 'xii')
-rwxr-xr-x | xii | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ #!/bin/sh -# Download and display X-Image images +# Download and display images referenced in Image headers : ${VIEWER:=fbi} @@ -8,7 +8,7 @@ dir=/tmp/$RANDOM mkdir $dir -sed -n 's/^X-Image: //p' | +sed -n 's/^Image: //p' | while read url do curl "$url" > $dir/$RANDOM |