X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/06f1155d4af0c19905ec04ccdddb16589cbbafa8..b0aa8cdb1c264e42d4931ca24968689c73381278:/man/pick.man diff --git a/man/pick.man b/man/pick.man index 38166453..dbed194a 100644 --- a/man/pick.man +++ b/man/pick.man @@ -1,4 +1,4 @@ -.TH PICK %manext1% "March 1, 2014" "%nmhversion%" +.TH PICK %manext1% "August 3, 2014" "%nmhversion%" .\" .\" %nmhwarning% .\" @@ -8,8 +8,12 @@ pick \- search for messages by content .HP 5 .na .B pick +.RB [ \-help ] +.RB [ \-version ] .RI [ +folder ] .RI [ msgs ] +.RB [ \-reverse +\&...] .RB [ \-and \&...] .RB [ \-or @@ -46,8 +50,7 @@ pick \- search for messages by content .RB [ \-public " | " \-nopublic ] .RB [ \-zero " | " \-nozero ] .RB [ \-list " | " \-nolist ] -.RB [ \-version ] -.RB [ \-help ] +.RB [ \-debug ] .PP typical usage: .PP @@ -60,7 +63,7 @@ show\0`pick\0\-before\0friday` .RE .ad .SH DESCRIPTION -.B Pick +.B pick searches within a folder for messages with the specified contents, and then identifies those messages. Two types of search primitives are available: pattern matching and date constraint @@ -153,7 +156,7 @@ and .B \-before switches take legal RFC 822\-style date specifications as arguments. -.B Pick +.B pick will default certain missing fields so that the entire date need not be specified. These fields are (in order of defaulting): timezone, time and timezone, date, date @@ -176,7 +179,21 @@ will also honor a specification of the form \*(lq\-dd\*(rq, which means \*(lqdd days ago\*(rq. .PP -.B Pick +Use the +.BR \-reverse +switch to make +.B pick +find matching messages in reverse order, working from the highest message +number down to the lowest. This can be useful in for searching recent +messages in large folders, for example, +.PP +.RS 5 +.nf +pick\0\-reverse\0\-from\0frated\0|\0xargs\0\-n1\0scan +.fi +.RE +.PP +.B pick supports complex boolean operations on the searching primitives with the .BR \-and , @@ -287,6 +304,11 @@ in the same way .B mark uses them. +.PP +The +.B \-debug +switch causes pick to output a representation of the search +pattern. .SS "Output when no messages are matched" If .B pick @@ -323,7 +345,7 @@ when it fails. This lets the outer command fail gracefully as well. .SH FILES .fc ^ ~ .nf -.ta \w'%etcdir%/ExtraBigFileName 'u +.ta \w'%nmhetcdir%/ExtraBigFileName 'u ^$HOME/\&.mh\(ruprofile~^The user profile .fi .SH "PROFILE COMPONENTS"