From 3537be9e7c578f8ca84e9d420044654577706a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 22 Nov 2020 18:54:41 +0100 Subject: Add more useful headers --- xii | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xii') 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 -- cgit v1.2.3