Article View: comp.mail.mh
Article #1857Showing the first message in a sequence
From: Benson Margulies
Date: Tue, 25 Apr 1989 13:33
Date: Tue, 25 Apr 1989 13:33
11 lines
825 bytes
825 bytes
I wanted a way to show the first unseen message in a folder. In desperation, I came up with the following. Surely there is a better way. Perhaps someone could clue me in? #! /bin/csh # show the next message unseen in the folder. For now, this just # works in the curent folder, because the arg parsing is too hard. set unseen = ( `pick unseen` ) show $* $unseen[1] -- Benson I. Margulies
Technical Details
Message-ID:
<306@odi.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!odi!bensonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!odi!benson From: benson@odi.UUCP (Benson Margulies) Newsgroups: comp.mail.mh Subject: Showing the first message in a sequence Message-ID: <306@odi.UUCP> Date: 25 Apr 89 13:33:56 GMT Reply-To: odi!benson@talcott.harvard.edu (Benson Margulies) Distribution: usa Organization: Object Design Inc., Burlington, MA Lines: 11