Fix an error in e2fsprogs
[linux_from_scratch.git] / pdf-fixups.sh
blob329a423d15b1f274d7a3ebc8f67e76af1bb818ea
1 #!/bin/bash
3 if [ $# -lt 1 ] ; then
4 echo "This script needs the location of the fo file to update"
5 exit 1
6 fi
9 FILE=$1
11 LINE=$( grep -n "DO NOT EDIT" $FILE | cut -f1 -d: )
12 LINE=$(( LINE - 1 ))
14 sed -i -e "$LINE s/monospace/&\" font-size=\"9pt/" $FILE