Hi David,
Though with mhstore -outfile - 2>/dev/null, that's not necessary.
True, though I dislike discarding the known unknowns so tend to do
more
pick ... 2> >(sed '/^pick: no messages match specification$/d')
to explicitly remove the known knowns. :-)
I just tripped over that in the test, good idea.
Ah, well in that case I should give the correct version; sed above will
be putting out what was originally stderr on its stdout, which is pick's
stdout. It's better with a `>&2'.
$ ls -d / /known /unknown 2> >(sed '\#/known:#d' >&2) | sed 's/^/1:/'
ls: cannot access /unknown: No such file or directory
1:/
$
Cheers, Ralph.
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers