repo.or.cz
/
linux_from_scratch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix an error in e2fsprogs
[linux_from_scratch.git]
/
pdf-fixups.sh
blob
329a423d15b1f274d7a3ebc8f67e76af1bb818ea
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
11
LINE
=
$
(
grep
-n
"DO NOT EDIT"
$FILE
| cut
-f1 -d
: )
12
LINE
=
$
((
LINE
-
1
))
13
14
sed
-i -e
"
$LINE
s/monospace/&
\"
font-size=
\"
9pt/"
$FILE
15