Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function preview_pdf () {
- if [ $1 = "" ]; then
- echo "Need filename."
- else
- convert $1 /var/TMP/output.jpg
- imgcat /var/TMP/output*.jpg;
- echo "cleaning up"
- rm -f /var/TMP/output*.jpg;
- # ls /var/TMP/output*.jpg;
- fi
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement