Skip to content

Instantly share code, notes, and snippets.

@64lines
Last active January 1, 2016 04:29
Show Gist options
  • Save 64lines/8091776 to your computer and use it in GitHub Desktop.
Save 64lines/8091776 to your computer and use it in GitHub Desktop.
#!/usr/bin/bash
# Require w3m-img
# dpkg -s w3m-img
cp "`pwd`/$1" /tmp/$1
echo "<img src='$1'>" > /tmp/file_0.html
w3m /tmp/file_0.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment