projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
indentation fix in uip/pick.c
[mmh]
/
man
/
pick.man1
diff --git
a/man/pick.man1
b/man/pick.man1
index
ea63a75
..
2de3ce5
100644
(file)
--- a/
man/pick.man1
+++ b/
man/pick.man1
@@
-94,11
+94,11
@@
With the others,
.B pick
compares the header field name case insensitive
and the tries to match the field body with the
.B pick
compares the header field name case insensitive
and the tries to match the field body with the
-.IR patern.
+.IR pattern.
.PP
With
.BR --componend
.PP
With
.BR --componend
-you can sepcify the exact header field name you are looking for.
+you can specify the exact header field name you are looking for.
It is used to pick a component which is not one of `To:',
`Cc:', `Date:', `From:', or `Subject:'.
An example is
It is used to pick a component which is not one of `To:',
`Cc:', `Date:', `From:', or `Subject:'.
An example is
@@
-107,7
+107,7
@@
An example is
Pattern matching is performed on a per\-header-field basis. Within the header
of the message, each field is treated as one long line, but in the
body, each line is separate. The
Pattern matching is performed on a per\-header-field basis. Within the header
of the message, each field is treated as one long line, but in the
body, each line is separate. The
-.IR patern
+.IR pattern
will match any case.
.PP
Note that since the
will match any case.
.PP
Note that since the
@@
-222,7
+222,7
@@
switches are provided, which act just like opening and closing
parentheses in logical expressions.
.PP
If no search criteria are given, all the messages specified on the
parentheses in logical expressions.
.PP
If no search criteria are given, all the messages specified on the
-command line are selected (this defaults to `all').
+command line are selected (this defaults to `a').
.PP
Once the search has been performed, if the
.B \-list
.PP
Once the search has been performed, if the
.B \-list
@@
-304,7
+304,7
@@
The default
.B Scan
line contains the message number
(name), the date, the `From:' field and the `Subject' field.
.B Scan
line contains the message number
(name), the date, the `From:' field and the `Subject' field.
-The folowing example shows the default output of
+The following example shows the default output of
.B scan
.PP
.RS 5
.B scan
.PP
.RS 5
@@
-446,11
+446,11
@@
mark(1)
.SH DEFAULTS
.nf
.RB ` +folder "' defaults to the current folder"
.SH DEFAULTS
.nf
.RB ` +folder "' defaults to the current folder"
-.RB ` msgs "' defaults to all"
+.RB ` msgs "' defaults to all messages"
.RB ` "\-datefield date" '
.RB ` \-zero '
.RB ` \-list "' is the default if no `\-sequence', `\-nolist' otherwise"
.RB ` "\-datefield date" '
.RB ` \-zero '
.RB ` \-list "' is the default if no `\-sequence', `\-nolist' otherwise"
-.RB ` "\-format pick\.default" "' if the programm is called with scan `scan.default' is used
+.RB ` "\-format pick\.default" "' if the program is called with scan `scan.default' is used
.fi
.SH CONTEXT
.fi
.SH CONTEXT
@@
-507,7
+507,7
@@
In
.B nmh
and old
.B mmh
.B nmh
and old
.B mmh
-versions scan and pick where two diffrent tools. So instand of typing
+versions scan and pick where two different tools. So instand of typing
.PP
.RS 5
.nf
.PP
.RS 5
.nf
@@
-573,5
+573,16
@@
was given, and if its standard output is not a tty, then
outputs the illegal message number `0'
when it fails. This lets the outer command fail gracefully as well.
.PP
outputs the illegal message number `0'
when it fails. This lets the outer command fail gracefully as well.
.PP
+To account for this case when combining
+.B pick
+with regular shell tools, filter out the message number `0'.
+For example, do
+.PP
+.RS 5
+pick\0...\0|\0fgrep\0-vx\0\&0\0|\0wc\0-l
+.RE
+.PP
+to count the number of messages picked.
+.PP
The pattern syntax `[l-r]' is not supported; each letter to be
matched must be included within the square brackets.
The pattern syntax `[l-r]' is not supported; each letter to be
matched must be included within the square brackets.