[comp.mail.mh] More slocal

ziegast@ENG.UMD.EDU (Eric Ziegast) (05/27/90)

Has anyone successfully used the "N" result with success?
It is still unclear to me how to use it.

Here is what I want to do:

if (message is To: root) then
	if (message has Subject: cron) then
		rcvstore it in +cron
	else
		rcvstore it in +root
endif

Now from the description in mhook(1) I might try:

To      root       destroy R -                 #In effect a noop
Subject cron       qpipe   N "rcvstore +cron"
To      root       qpipe   ? "rcvstore +root"

Is this right? It would be nice if someone updated the man page to
include an example.

I still never received an answer on how to use the fields "addr" and
"source". Who wrote slocal anyway? Don't they know?
_______________________________________________________________________
ziegast@eng.umd.edu - {uunet}!eng.umd.edu!ziegast
Eric W. Ziegast, University of Merryland, Open Sun Lab