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: Werner LEMBERG
Subject: Re: [Groff] `groff' options for other programs
Date: Sat, 27 Apr 2013 00:24:12 +0200 (CEST)

>   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"`


    Werner



reply via email to

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