daily pastebin goal
35%
SHARE
TWEET

Untitled

a guest Jul 20th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env bash
  2.  
  3. FILENAME=`echo "$1" | cut -d'.' -f1`
  4.  
  5. markdown.pl $1 > $FILENAME.html 2> /dev/null
  6. xhtml2pdf --quiet --css=/usr/local/share/xhtml2pdf.css -s $FILENAME.html 2> /dev/null
  7. rm $FILENAME.html
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top