Path: 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 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