help-autogen
[Top][All Lists]
Advanced

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

[Help-autogen] How to substitute prog-name in libopts `detail = <<- _END


From: Regid Ichira
Subject: [Help-autogen] How to substitute prog-name in libopts `detail = <<- _END_DETAIL' text?
Date: Mon, 25 Jul 2011 18:42:43 -0700 (PDT)

  With, 

$ grep -C2 prog-name ntpq/ntpq-opts.def | head -12
#include autogen-version.def

prog-name      = "ntpq";
prog-title     = "standard NTP query program";
argument       = '[ host ...]';
--
detail = <<-  _END_DETAIL
        The
        [= prog-name =]
        utility program is used to query NTP servers which
        implement the standard NTP mode 6 control message formats defined
--

  Is there a way to get ntpq, instead of [= prog-name =], in the following 
output:

$ ntpq -? | grep -C2 prog-name

The
[= prog-name =]
utility program is used to query NTP servers which
implement the standard NTP mode 6 control message formats defined




reply via email to

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