You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

txt2pdf 283B

12345678910
  1. #!/usr/bin/env bash
  2. # AUTHOR: shaggy
  3. # FILE: txt2pdf.sh
  4. # ROLE: TODO (some explanation)
  5. # CREATED: 2015-04-05 03:07:15
  6. # MODIFIED: 2015-04-05 03:07:16
  7. _tempfile=$(mktemp -u)
  8. abiword --to=ps --to-name="${_tempfile}" "${1}"
  9. ps2pdf "${_tempfile}" "${1}.pdf"
  10. rm "${_tempfile}"