opensubscriber
   Find in this group all groups
 
Unknown more information…

n : nmh-workers@nongnu.org 14 June 2012 • 2:10AM -0400

Re: [Nmh-workers] mhmail
by Paul Fox

REPLY TO AUTHOR
 
REPLY TO GROUP





norm@dad.... wrote:
> David Levine <levinedl@acm....> writes:
> >Norm wrote:
> >
> >> Suppose I want to do something like:
> >>
> >> mts=/usr/local/nmh/etc/mts.conf    #depends on installation
> >> sed < $mts >| /tmp/mts.conf -e '/^servers:/s/:.*/: localhost/'
> >> MHMTSCONF=/tmp/mts.conf mhmail norm -from norm -subject "$1"
> >>
> >> But replacing /usr/local/nmh/etc/mts.conf with the location of mts.conf.
> >> Is there some way a script can know the location of nmh's etc directory?
> >
> >`mhparam etcdir`
>
> OK. I will use it. Thank you.
>
> But without you to hold my hands, how could I have known that?
> It's not in the mhparam man page, In fact, share/doc/nmh/README.manpages and
> bin/mhparam are the only files anywhere in the nmh-1.5 hierarchy in which
> the string "etcdir" occurs. Also 'mhparam -all | grep etc' shows nothing.

i'll bet a patch to the man page would be welcomed!   :-)

(i didn't know about it either, and needed the "libdir" variant just the
other day, to find the "ap" command.)

paul
=---------------------
paul fox, pgf@foxh... (arlington, ma, where it's 59.0 degrees)

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nong...
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.