output file argument to notmuch dump.

Jesse Rosenthal jrosenthal at jhu.edu
Fri Oct 7 03:23:58 PDT 2011


On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner <bremner at unb.ca> wrote:
> 1) just delete the output file option from notmuch-dump, and use shell
>    redirection. So far I don't see a non-contrived example when writing
>    an output file directly is useful, but maybe that is just a failure
>    of imagination.
> 
> 2) delete the output file option and a global "--write" option that 
>    calls freopen(... stdout). As a bonus(?) this would work for any 
>    notmuch command.

Either of these seem like the right approach to me. I might favor (1)
just a bit so I don't have to choose between different ways of doing the
same thing, but that's a small point. As Jamie said, they're pretty
much the same.

--Jesse


More information about the notmuch mailing list