Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!oliveb!sun!ichthous!mcgrew From: mcgrew@ichthous.Sun.COM (Darin McGrew) Newsgroups: comp.mail.mh Subject: Re: Message sorting into folders when doing inc Message-ID: <105911@sun.Eng.Sun.COM> Date: 19 May 89 20:22:43 GMT References: <8905191059.AA14214@garm> Sender: news@sun.Eng.Sun.COM Reply-To: mcgrew@sun.UUCP (Darin McGrew) Organization: Sun Microsystems, Mountain View Lines: 27 In article <8905191059.AA14214@garm> he@idt.unit.no writes: > - what happens when 'pick' returns no messages as in > % refile `pick criteria` +to-folder > I suspect the result would not be what I wanted, especially if > several of these are run "automatically" in sequence. Here's the version of MH we have... version: MH 6.5 #65[UCI] (crowd) of Tue Feb 28 11:22:13 PST 1989 options: [ATZ] [BANG] [BERK] [BIND] [BSD42] [BSD43] [DUMB] [MHE] [NETWORK] [OVERHEAD] [RPATHS] [TTYD] [FOLDPROT='"0700"'] [MSGPROT='"0600"'] [SBACKUP='"#"'] [SENDMTS] [SMTP] Our version of pick has a -list option that forces it to print a 0 when nothing matches, thus: % pick -list -from no_such_user pick: no messages match specification 0 % refile `pick -list -from no_such_user` +my_folder pick: no messages match specification refile: no messages match specification I'm still able to cope with refiling my messages by hand, so I don't have any solutions for automatically sorting mail. Darin