🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #644

Re: Using 'pick' to select 'not forwarded'

#644
From: Dan Heller
Date: Mon, 10 Dec 1990 09:44
21 lines
1520 bytes
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
Technical Details
Message-ID: <9012100944.AA05813@turnpike.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!Eng.Sun.COM!argv
References: <1990Dec10.062259.16862@monu6.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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