[comp.unix.questions] System V: mailx -H; Ultrix: ???

a3@earth.rivm.nl (Adri Verhoef) (04/09/91)

To list *all* the entries in your mailbox, you could simply use "mailx -H"
on System V, but on Ultrix this seems difficult to achieve.

Using mailx -H, on System V, I was able to split my mailbox into pieces,
using a script that looked at the Subject and saving the message into
a file if the Subject was in a table of known Subjects, and then, after
having saved all known messages and leaving mailx, I could take a look
at the saved files, using the mailbox-splitter-script (which also filtered
out relevant information from administrative mail).
And, as long as mailx could handle my always flooding mailbox,
my script could handle it.

Now, on Ultrix, it's seems hard to do the same, but we'll see:
Does anybody know a solution to this problem?  [I know there is
a Public Domain mail splitter, but it didn't work on System V.]

Example usage for System V:
	$ mailx -H | awk '...

(Well, actually, my 'ml' program did do all this, but now I'm stuck, sort of.)
Thanks for your attention.