11.1
11.1-rc1
11.2
11.2-rc1
11.3
11.3-rc1
12.0
12.0-rc1
12.1
12.1-rc1
12.2
12.2-rc1
arm
bdubbs/gcc13
multilib
renodr/libudev-from-systemd
s6-init
trunk
xry111/arm64
xry111/arm64-12.0
xry111/clfs-ng
xry111/lfs-next
xry111/loongarch
xry111/loongarch-12.0
xry111/loongarch-12.1
xry111/loongarch-12.2
xry111/mips64el
xry111/multilib
xry111/pip3
xry111/rust-wip-20221008
xry111/update-glibc
Last change
on this file since 0aeb9f3 was 3781c69, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago |
Remove eol spaces
|
-
Property mode
set to
100755
|
File size:
398 bytes
|
Rev | Line | |
---|
[3684f6c] | 1 | #!/bin/bash
|
---|
[6708e6a] | 2 |
|
---|
[3781c69] | 3 | if [ $# -lt 1 ] ; then
|
---|
[6708e6a] | 4 | echo "This script needs the location of the fo file to update"
|
---|
| 5 | exit 1
|
---|
| 6 | fi
|
---|
| 7 |
|
---|
| 8 |
|
---|
| 9 | FILE=$1
|
---|
| 10 |
|
---|
| 11 | LINE=$( grep -n "DO NOT EDIT" $FILE | cut -f1 -d: )
|
---|
| 12 | LINE=$(( LINE - 1 ))
|
---|
| 13 |
|
---|
[e436213] | 14 | # Not needed
|
---|
| 15 | #sed -i -e "$LINE s/monospace/&\" font-size=\"9pt/" $FILE
|
---|
[6708e6a] | 16 |
|
---|
[040ecb6] | 17 | # Break a block of code at the right place
|
---|
| 18 | sed -i -e 's@gcc --version@<fo:block page-break-before="always"></fo:block>&@' $FILE
|
---|
Note:
See
TracBrowser
for help on using the repository browser.