summaryrefslogtreecommitdiff
path: root/xii
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-11-22 18:54:41 +0100
committerJohn Ankarström <john@ankarstrom.se>2020-11-22 18:54:41 +0100
commit3537be9e7c578f8ca84e9d420044654577706a11 (patch)
tree379184e06cf5907b053bb9ff44d639dedd63a9b4 /xii
parent9c9207c0141b816e351c62e659079912367dbeff (diff)
downloadweb-3537be9e7c578f8ca84e9d420044654577706a11.tar.gz
Add more useful headers
Diffstat (limited to 'xii')
-rwxr-xr-xxii4
1 files changed, 2 insertions, 2 deletions
diff --git a/xii b/xii
index c79e967..fd88276 100755
--- a/xii
+++ b/xii
@@ -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