Article View: comp.mail.mush
Article #1055Re: picking and sorting (and a possible date bug)
From: Duane Voth
Date: Mon, 05 Mar 1990 22:54
Date: Mon, 05 Mar 1990 22:54
45 lines
2264 bytes
2264 bytes
In article <7682@ogicse.ogi.edu>, schaefer@ogicse.ogi.edu (Barton E. Schaefer) writes:
> In article <619@kauai.ACA.MCC.COM> duanev@kauai.ACA.MCC.COM (Duane Voth) writes:
> } ... is there a way to "partition" the current folder
>
> [digest idea...] [future cut/paste idea...]
Actually, I've found something I can live with that works fairly well.
I've created several bogus mail articles of the form:
From ----[gwm-]-------------------- Sun Jan 1 00:00:00 1900
To: gwm-bugs@mirsa.inria.fr
Subject: ----[gwm-]-----------------------------
Date: Sun Jan 1 00:00:00 1900
Status: OR
separator article
where [gwm-] is the title of my "partition", and a cmd of the form:
collect 'pick -t !* | copy ! mail.trash | delete; update;
merge mail.tras h; sh rm mail.trash'
Now, when I say "collect gwm-*", all articles recieved by me on the
gwm-* mailing lists get placed at the end of the folder with the
separator article preceeding them. It's aesthetically appealing
and fairly easy to use!
Possible improvements are: a) a shell script (?) that can detect my
seperator articles and do a "collect" on each thus eliminating my
argument to collect and making it a "sort the whole folder" command.
b) some way to merge at the beginning of the folder instead of the end
(so that ungrouped articles are all at the end of the folder where new
articles appear). Any ideas here?
One last thing, sort d couldn't correctly sort dates with years above 1999
(I tried putting the separator at the end of a partition to start with).
I'm using (6.5 4/17/89) [5/12/89]. Is sort looking only at the last two
digits of dates?
--
--- duane voth duanev@mcc.com
---- {uunet,harvard,gatech,pyramid}!cs.utexas.edu!milano!pp!duanev
--- ALL systems are arbitrary! Effectiveness is the measure of Truth
--
Technical Details
Message-ID:
<639@kauai.ACA.MCC.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!pp!kauai!duanevReferences:
<619@kauai.ACA.MCC.COM> <7682@ogicse.ogi.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!pp!kauai!duanev From: duanev@kauai.ACA.MCC.COM (Duane Voth) Newsgroups: comp.mail.mush Subject: Re: picking and sorting (and a possible date bug) Message-ID: <639@kauai.ACA.MCC.COM> Date: 5 Mar 90 22:54:06 GMT References: <619@kauai.ACA.MCC.COM> <7682@ogicse.ogi.edu> Organization: MCC, Austin, TX Lines: 45