/usr/spool/mail filter/editor?
Ed Wright
edw at sequent.UUCP
Fri Jan 18 06:30:29 AEST 1991
In article <1991Jan16.185727.15843 at en.ecn.purdue.edu> nichols at en.ecn.purdue.edu (Scott P Nichols) writes:
%I am interested in a shell script that will, upon execution, view
%the contents of the /usr/spool/mail/lname file and remove any mail
%from a certain user or list of users. I'm sure it has been done
%many times, but I don't have the skills yet to write it on my own.
%
%Anyone been hacking away at something like this?
The elm mailer has a lovely set of filters.
I have found that once installed the filters keep my berzerkely mail
cleaned up too.
You can take such actions as delete, save to file , forward
based on subject who from and combinations.
Ed
--
I think I've got the hang of it now .... :w :q :wq :wq! ^d X exit
X Q :quitbye CtrlAltDel ~~q :~q logout save/quit :!QUIT ^[zz
^[ZZ ZZZZ ^H ^@ ^L ^[c ^# ^E ^X ^I ^T ? help helpquit ^D ^d
^C ^c helpexit ?Quit ?q decwrl or uunet or tek !sequent!edw
More information about the Comp.unix.shell
mailing list