groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <OK> [Groff] serious pdfroff problems


From: Zvezdan Petkovic
Subject: Re: <OK> [Groff] serious pdfroff problems
Date: Thu, 16 Jun 2005 15:03:06 -0400
User-agent: Mutt/1.4.2i

On Thu, Jun 16, 2005 at 02:55:24PM +0100, Keith MARSHALL wrote:
> I beg to differ here.  While POSIX defines the $( ... ) syntax for
> embedded command invocation, we have to deal with many legacy systems
> which are not POSIX compliant.  As you say, Mike, the syntax used in
> pdfroff does have portability problems; as I have already indicated to
> Werner privately, the correct portable syntax is
> 
>   MATCH="$MATCH"`echo --$OPT | $GREP "^$OPTNAME"`
> 
> or, possibly, the two line form you indicate below.

Just a thought.
How many of the legacy systems that do not have POSIX sh can run a
recent version of Ghostscript with pdfwrite which is a prerequisite for
pdfroff?

> Bash, tcsh, ksh, zsh, etc. are by no means universal -- /bin/sh *should*
> be, and has the best chance of providing a portable script execution
> environment, provided appropriate portability guidlines are followed.

Couldn't agree more!

Best regards,

        Zvezdan Petkovic




reply via email to

[Prev in Thread] Current Thread [Next in Thread]