Hi Valdis,
-search 'Subject[ \t]:[ \t]*\[PATCH [45]\.[0-9]'
[~] grep ^Subject Mail/linux-kernel/321805
Subject: Re: [PATCH 4.9 04/20] net: Fix for_each_netdev_feature on Big endian
[~] scan `pick +linux-kernel 321805 -search 'Subject: \[PATCH [45]\.[0-9]'
-and -from gregkh@linuxfoundation.org -list`
321805 * Thu 21Feb 7k Greg Kroah-Hartma Re: [PATCH 4.9 04/20]
net: Fix for_each_netdev_feature on Big endian <<On Thu, Feb 21,
...
There's still something busticated here. Why did it match even with
the Re: in there?
Your grep is looking for Search at the start of a line, your pick isn't.
The email has the original, non-Re:, subject in the email's body.
https://lkml.org/lkml/2019/2/21/975
A modified grep(1) is used to perform the matching, so the full regular
expression
(see ed(1)) facility is available within pattern. With -search,
pattern is used
directly, and with the others, the grep pattern constructed is:
That's ugly formatting. I find «export MANOPT='--nh --nj'» helps a lot
with the man(1) here.
Also, saw this under 'BUG' in the pick manpage:
The pattern syntax '[l-r]' is not supported; each letter to be matched
must be included within the square brackets.
I think Paul Fox fixed that back in 2006.
http://git.savannah.nongnu.org/cgit/nmh.git/commit/?id=dc0b0be755b41f3c195913631fedf023ad69192e
--
Cheers, Ralph.
--
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers