3 open(OMIT, "9 sed -n 's/.*Omitman\\[\"(.*)\\((.)\\)\".*/\\1 \\2/p' /usr/local/plan9/dist/checkman.awk |") || die "omit: $!";
7 push @omit, "grep 1", "lseek 2", "tcs 1", "sed 1", "rc 1", "strcat 3", "yacc 1";
12 $text =~ s!<a href="../man$s/$p.html">(([^<]|<[^/]|</[^a])*)</a>!\1!g;
15 for($i=0; $i<@ARGV; $i++){
16 open(IN, $ARGV[$i]) || die "open $ARGV[$i]: $!";
19 $text = join("", @text);
26 $text =~ s!../man(.)/([^.]*)\.html!$2$1.html!g;
27 $text =~ s!(http://swtch.com/plan9port/unix)!<a href="\1">\1</a>!g;
29 open(OUT, ">$ARGV[$i]") || die "open $ARGV[$i]: $!";