Re: -v ?

From: Daniel Stenberg <daniel.stenberg_at_autodiagnos.se_at_hypermail-project.org>
Date: Mon, 12 Apr 1999 14:27:00 +0200
Message-ID: <199904121253.OAA26068_at_mn10.swip.net>


Craig A Summerhill wrote:

> > How are your feelings about this today?

> 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 '^$'

Indeed.

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

Surely it does? It always outputs all the variables it knows about. It displays all unchanged as commented and the ones that were set in the config file uncommented.

> Personally, I see some utility in having the -v flag display the
> comments.

I certianly do too.

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

I made the internal function capable of generating a list of only the variables actually set in the config file (or by environment variables) so it would be very easy to add in case we want it.

I'll wait doing that until we know that there actually is anyone that want it that way! ;-) Received on Mon 12 Apr 1999 02:52:56 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT