pdf-fixups.sh 271 B

12345678910111213141516
  1. #!/bin/bash
  2. if [ $# -lt 1 ] ; then
  3. echo "This script needs the location of the fo file to update"
  4. exit 1
  5. fi
  6. FILE=$1
  7. LINE=$( grep -n "DO NOT EDIT" $FILE | cut -f1 -d: )
  8. LINE=$(( LINE - 1 ))
  9. # Not needed
  10. #sed -i -e "$LINE s/monospace/&\" font-size=\"9pt/" $FILE