Guest User

Untitled

a guest
Jul 20th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment