"Matthew G. Saroff" har May 29, ytret følgende ord om ,,The Safe backup in
procmailex'':
: Does anyone out there have a variant of this that might keep the
: last N messages in a mail folder as opposed to separate files? It would
: be easier for me to evaluate this stuff if I could load it into Pine and
: look at the headers in a list, as opposed to reading each of the files
: separately.
If you have mush or cares to install it,
and don't mind a little overhead :-) this script
might do it:
#!/Home/stud/georg/bin/solaris/mush -F
delete ${MAXNUM}-$
quit
If yopu just set the environment MAXNUM to one more than
the wanted number of messages.
You may call it with
COMMAND='script >/dev/null 2>&1'
--
:-- Hans Georg --- student of 'Life, the Universe and Everything'
<georg(_at_)ii(_dot_)uib(_dot_)no> (stud.oecon. stud.scient.)
http://www.ii.uib.no/~georg/
,Studenter, ta fri, det er vår !'