diff options
Diffstat (limited to 'xii')
-rwxr-xr-x | xii | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -8,13 +8,12 @@ dir=/tmp/$RANDOM mkdir $dir -grep '^X-Image: ' | -sed 's/^X-Image: //' | +sed -n 's/^X-Image: //p' | while read url do curl "$url" > $dir/$RANDOM done # Display images and delete them afterwards -$VIEWER $dir/* < /dev/tty +eval $VIEWER $dir/* < /dev/tty rm -r $dir |