diff options
Diffstat (limited to 'docs/gtkdocs_fix')
-rwxr-xr-x | docs/gtkdocs_fix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/gtkdocs_fix b/docs/gtkdocs_fix new file mode 100755 index 0000000..d13daa6 --- /dev/null +++ b/docs/gtkdocs_fix @@ -0,0 +1,11 @@ +#!/usr/bin/perl + +# Stupid script to fix look of html files created with sgml2html... + +foreach (@ARGV) { + print "Fixing... $_\n"; + system("mv $_ $_.orig"); + system("sed -e 's/<BODY>/<BODY BGCOLOR=\"#FFFFFF\">/g' -e 's/<HR>/<HR NOSHADE>/g' $_.orig > $_"); + unlink("$_.orig"); +} + |