#!/usr/bin/perl
#-->cgi:/home/jj/public_html/bin/d11
#-->dir:/tmp/lixo
use strict;
use CGI::Auto;
#use encoding "utf8";
#binmode(STDIN,":utf8");
CGI::Auto::auto(title => "manpage in pdf",
command => "man -t [%s(command)] | ps2pdf - -",
dir => "/tmp/lixo",
mimetype => "application/pdf",
debug => 0,
# tohtml => "table",
# th => ["", "Lines","Words","Chars","Filename"],
# fs => qr{\s+},
);