groff
[Top][All Lists]
Advanced

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

Re: [Groff] `groff' options for other programs


From: Bernd Warken
Subject: Re: [Groff] `groff' options for other programs
Date: Sat, 27 Apr 2013 01:50:21 +0200 (CEST)

> Von: "Werner LEMBERG" <address@hidden>
> 
> >   OPTS=`grep ':.*:.*:' groff.cpp \
> >         | sed -e 's/[",]//g'`
> >   OPTS_NO_ARG=`echo $OPTS \
> >                | sed -e 's/[a-zA-Z]://g'`
> >   OPTS_WITH_ARG=`echo $OPTS \
> >                  | sed "s/[$BAR:]//g"`
> 
> Oops!  The last two lines should be rather
> 
>   OPTS_WITH_ARG=`echo $OPTS \
>                  | sed "s/[$OPTS_NO_ARG:]//g"`

Wow, that's very good.  I checked this mail a bit late.

So I got rid of the Perl program `read_groff_options.pl' in `src/roff/groff'
and used some kind of `grep' and `sed', but your configuration is much better.
I will try it tomorrow.

Thanx

Bernd Warken



reply via email to

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