Hi,
I was grumbling to myself, making a change from the list, about the
broken design of the regexp arguments to `pick -subject', etc., and
making notes about how they could be improved when I realised that its
`--othercomponent regexp', e.g. `pick --list-id nmh' actually takes a
regexp as the option name. I suspect this is unintentional.
The option is the first `%s', without its `--' prefix, and the following
parameter is the second in the resulting regexp.
"^%s[ \t]*:.*%s"
So for any of the List-* headers, regardless of whether anything is
after the colon, it's
pick --'list-[^:][^:]*' '$'
Unfortunately, the `:' is hard-coded; that's part of the above grumbling.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
--
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers