Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!Eng.Sun.COM!argv From: argv@Eng.Sun.COM (Dan Heller) Newsgroups: comp.mail.mush Subject: Re: Using 'pick' to select 'not forwarded' Keywords: pick, mush 7.2.0, 'Status:' field Message-ID: <9012100944.AA05813@turnpike.Eng.Sun.COM> Date: 10 Dec 90 09:44:30 GMT References: <1990Dec10.062259.16862@monu6.cc.monash.edu.au> Sender: daemon@athena.mit.edu (Mr Background) Organization: O'Reilly && Associates Lines: 21 In article <1990Dec10.062259.16862@monu6.cc.monash.edu.au> vac241j@monu6.cc.monash.edu.au (Anthony Baxter) writes: > I can pick all forwarded stuff with 'pick -h status f', but I have been unable > to work out how to select 'not something'... The "-x" option inverts the search. However, I don't recommend using "pick -h status f" to determine the status of messages. This header doesn't have "updated" information -- that is, anything you do in your current mush session is not reflected in the Status header until you update. Besides, it's slower than doing it the right way, which is to the "flags" command. In this case, "flags f" ... to get all the messages that *aren't* forwarded, you could do * { `flags f` } * = all messages, the {}'s means "except" the messages inside. The messages "inside" are those returned by the flags command -- specifically, the messages that have been forwarded. The result is a list of all messages that have not been forwarded. --dan