File: gtkdocs_fix

package info (click to toggle)
gmime2.6 2.6.23%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,236 kB
  • sloc: ansic: 42,129; makefile: 634; sh: 415; cs: 250; xml: 9; python: 8; perl: 6
file content (11 lines) | stat: -rwxr-xr-x 289 bytes parent folder | download | duplicates (37)
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");
}