Re: -v ?

From: Craig A Summerhill <>
Date: Wed, 7 Apr 1999 17:30:26 -0400 (EDT)
Message-Id: <>

On Wed, 7 Apr 1999, Daniel Stenberg <> wrote:
> A long time ago the way I've made the -v flag work was debated and
> not really appriciated.
> How are your feelings about this today? I like to be able to regenerate
> a bare config template file this way, but perhaps it would be useful
> with a flag that just shows what variables that have been altered
> without all those comments?

Well, if somebody wants to strip the comments, it could be easy enough piping the command to a 'grep -v'.

   csh> hypermail -c /path-to/.hmrc -v | grep -v '^#' | grep -v '^$'

But this doesn't really help generate a blank template, unless your .hmrc config file has *all* the variables displayed in it.

Personally, I see some utility in having the -v flag display the comments. I think it is an easier way for new users to reference all the variables when they want to review them (as opposed to man pages). It also has the benefit of showing variables compiled into the binary you are using, which has advantages when the documentation is out of date (as we all know happens often).

Perhaps two flags? One to show variables with comments (as now) and another to show a blank template?


   Craig A. Summerhill, Systems Coordinator and Program Officer
   Coalition for Networked Information
   21 Dupont Circle, N.W., Washington, D.C.   20036
   Internet:   AT&Tnet (202) 296-5098
Received on Wed 07 Apr 1999 11:35:20 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:50 PM GMT GMT