🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #17

Macros

#17
From: Carlos M. Puchol
Date: Mon, 03 Aug 1992 03:40
32 lines
1698 bytes
Hi, I have a question which may be a bit naive for some people, but
I have been unsuccesfully struggling some time with this problem
with the macros in mush:

I have a line similar to this one in my .mailrc:

bind M macro ":pick -t mlist | mark -A ; pick -f mlist-request | mark -A ; pick -p A |  save +mlist.archive ; update\n"

As you have guessed, I am subscribed to this great mailing list called mlist.
Sometimes the mail comes "From:" mlist@wherever.org, some others it comes "From:"
mlist-request@wherever.org, some others "From:" mlist-owner@wherever.org. Sometimes
it comes "From:" a user doe@inst.edu with "Cc:" to mlist@wherever.org or with
"To:" mlist@wherever.org.

The first line of every message comes with a line like this:

From mlist-request@wherever.org Mon Jul 25 17:00:52 1992

But I can't seem to pick the initial "un-coloned" "^From " line. That
would be the ideal solution. I have tried many strategies to pick
in several conditions, but all fail to work and all complain noisily.

So, what I want is to pick ALL the messages belonging to the mailing list
and then saving them to a file, updating the mailbox at the end.

Any suggestions?  Thanks in advance,    (and sorry for my ignorance,
					 I hope I have been clear enough)

-- 
-- Carlos Puchol
-- cpg@cs.utexas.edu		CS Department, UT Austin
Technical Details
Message-ID: <l7palqINNq25@trurl.cs.utexas.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!news
From: cpg@cs.utexas.edu (Carlos M. Puchol)
Newsgroups: comp.mail.mush
Subject: Macros
Date: 2 Aug 1992 22:40:42 -0500
Organization: Department of Computer Sciences, UT Austin
Lines: 32
Distribution: na
Message-ID: <l7palqINNq25@trurl.cs.utexas.edu>
NNTP-Posting-Host: trurl.cs.utexas.edu