output file argument to notmuch dump.
David Bremner
bremner at unb.ca
Mon Oct 10 19:12:37 PDT 2011
On Mon, 10 Oct 2011 09:41:47 -0700, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> > notmuch --stdout=foo.txt dump
> >
> > could be dealt with later.
>
> I realize the later probably requires more work, since we would have to
> replace all print calls with a new function, but I think it's the
> cleaner and more elegant solution. There's no reason to have an output
> redirection option for "dump"s and not for any of the other commands.
As far as I know, freopen(3) makes this a one-liner. I think the hardest
part of this would be figuring out the name of the option ;)
d
More information about the notmuch
mailing list