lfs/pdf-fixups.sh
Bruce Dubbs 3684f6cc35 Remove verbose
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9119 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2009-11-24 18:33:12 +00:00

16 lines
257 B
Bash
Executable File

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