Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: sort email ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 12 Topic 2169 of 2317
Post > Topic >>

Re: sort email by date

by Ted Davis <tdavis@[EMAIL PROTECTED] > Feb 24, 2008 at 08:16 PM

On Sun, 24 Feb 2008 11:20:20 -0800, droid wrote:

> I'm looking for a script/program to sort large email files by date. I'm
> asking here because of AWK's reputation for pattern matching, but would
> welcome any script/program that can perform this task on either Unix or
> DOS/Windows.

I don't understand the question.  Sorting files can mean producing a
list of filenames is time order.  It can also mean sorting the messages
according to time.  The latter may be meaningless: if they are inboxes,
they are already in order of receipt.  Sorting any collection of email by
time sent is pointless since that field is often simply wrong.

There are also differences in the way various mail clients note the
received time - it's usually on the first line of the saved header, but
the marker and date formtat may vary.  That's for standard POP3 clients -
I don't know about IMAP save format.

It would help if we knew what date you wanted and the format of the
header.  If you post a header, indent every line so it can't be mistaken
for a usenet message header by newsreaders.

-- 

T.E.D. (tdavis@[EMAIL PROTECTED]
) MST (Missouri University of Science and
Technology)
used to be UMR (University of Missouri - Rolla).
 




 12 Posts in Topic:
sort email by date
droid <jshowalter@[EMA  2008-02-24 11:20:20 
Re: sort email by date
Ed Morton <morton@[EMA  2008-02-24 15:25:27 
Re: sort email by date
gazelle@[EMAIL PROTECTED]  2008-02-25 00:56:26 
Re: sort email by date
Ted Davis <tdavis@[EMA  2008-02-24 20:16:22 
Re: sort email by date
droid <jshowalter@[EMA  2008-02-24 19:47:46 
Re: sort email by date
Ted Davis <tdavis@[EMA  2008-02-25 08:21:37 
Re: sort email by date correction
Ted Davis <tdavis@[EMA  2008-02-25 10:49:08 
Re: sort email by date
Edward Morton <morton@  2008-02-25 08:28:01 
Re: sort email by date
Ed Morton <morton@[EMA  2008-02-25 08:28:59 
Re: sort email by date correction
droid <jshowalter@[EMA  2008-02-25 09:19:54 
Re: sort email by date
spcecdt@[EMAIL PROTECTED]  2008-02-25 22:08:12 
Re: sort email by date
William James <w_a_x_m  2008-02-25 16:12:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 2:39:49 CDT 2008.