Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!shelby!eos!data.nas.nasa.gov!sun418!truesdel From: truesdel@nas.nasa.gov (David A. Truesdell) Newsgroups: comp.mail.mh Subject: Re: scan `pick ...` Message-ID: Date: 13 Feb 91 01:57:38 GMT References: <27B72875.12190@ics.uci.edu> <1501.666374307@note2.nsf.gov> Sender: news@nas.nasa.gov Organization: NAS Program, NASA Ames Research Center, Moffett Field, CA Lines: 30 jcohn@NOTE2.NSF.GOV (Jonathan Charles Cohn) writes: >>wiseb@turing.cs.rpi.edu (G. Bowden Wise) writes: >>>It seems that if no messages are generated from the `pick` part of >>>the command, then it simply scans my current folder. >>It doesn't do this on my system. The latest release is MH 6.7.1. >>What version are you running? >This might be as dependent on the shell you are running as on the >version of MH. I am running MH 6.7.1, and see the same type of >results. If the backquoted pick fails, it should return a failure >code. Some shells might still start up the command outside the >backquotes while others do not. >Jonathan C. Cohn >+1 202 357 5936 No, it has to do with the list that pick returns when it finds nothing in the folder that matches the selection. MH6.6, and MH6.7 return a list containing the message number "0". Earlier versions (i.e. MH6.1) return an empty ("") list. This empty list is what causes scan to produce a full listing of the folder. -- T.T.F.N., dave truesdell (truesdel@prandtl.nas.nasa.gov) "Abandon all hope, ye who press enter here."