conv.pl 335 B

1234567891011121314151617181920
  1. open(FL,"r38.tmp") or die "r38.tmp not there\n";
  2. open(FLO,">r38.tex");
  3. while (<FL>) {
  4. s/ *$//g; # Remove trailing blanks.
  5. s/\t/ /g; # Convert tabs.
  6. s/\\begin{verbatim}/{\\small\\begin{verbatim}/;
  7. s/\\end{verbatim}/\\end{verbatim}}/;
  8. print FLO $_;
  9. }
  10. close FL; close FLO;
  11. exit(0);