Subversion Repositories svn LFS-FR

Rev

Rev 1342 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#!/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 "DITEZ PAS CE FICHIER" $FILE | cut -f1 -d: )
LINE=$(( LINE - 1 ))

sed -i -e "$LINE s/monospace/&\" font-size=\"9pt/" $FILE