Rev 1342 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1056 | jmengual | 1 | #!/bin/bash |
2 | |||
3 | if [ $# -lt 1 ] ; then |
||
4 | echo "This script needs the location of the fo file to update" |
||
5 | exit 1 |
||
6 | fi |
||
7 | |||
8 | |||
9 | FILE=$1 |
||
10 | |||
1146 | jmengual | 11 | LINE=$( grep -n "DITEZ PAS CE FICHIER" $FILE | cut -f1 -d: ) |
1056 | jmengual | 12 | LINE=$(( LINE - 1 )) |
13 | |||
14 | sed -i -e "$LINE s/monospace/&\" font-size=\"9pt/" $FILE |
||
15 |