Re: bug report to HTML::FormatText

Gisle Aas (aas@oslonett.no)
Tue, 26 Sep 1995 15:30:05 +0100


Andreas Koenig <k@anna.mind.de> writes:
>     Gisle> Another problem is that there should have been some way to
>     Gisle> specify these formatter parameters together with the -o
>     Gisle> option in the "request" script.  Perhaps something like
>     Gisle> this:
> 
>     Gisle>    request -o ps:papersize=letter;fontfamily=helvetica
>     Gisle> 00whois.html
> 
>     Gisle> Can you think of a better way to do it?
> 
> I would suggest replace the ":" and ";" with whitespace and keep the "="
> 
>    request -o ps papersize=letter fontfamily=helvetica 00whois.html
> 
> looks more familiar to me. Now I see the problem: somebody has a
> filename "fontfamily=helvetica". So this isn't really good enough. But
> if "--" is recognized as the end of options, I'd prefer the white way.

The problem with whitespace as you suggest is that we can't continue to use 
Getopt::Std unless we force people quote the option value like this:

request -o 'ps papersize=letter fontfamily=helvetica' 00whois.html

> This reminds me of a feature request I had in mind: STDIN as the
> source isn't supported yet, would you like to add support for it?

No :-)

--Gisle