File: gtkdocs_fix

package info (click to toggle)
gmime 3.2.13%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,208 kB
  • sloc: ansic: 46,569; makefile: 574; sh: 300; python: 8; perl: 6
file content (11 lines) | stat: -rwxr-xr-x 289 bytes parent folder | download | duplicates (36)
1
2
3
4
5
6
7
8
9
10
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");
}