From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id D441B429E26 for ; Thu, 6 Oct 2011 18:14:19 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jSLhy7aa00vk for ; Thu, 6 Oct 2011 18:14:18 -0700 (PDT) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id D6557431FB6 for ; Thu, 6 Oct 2011 18:14:17 -0700 (PDT) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id 5377D66E00CE; Thu, 6 Oct 2011 18:14:17 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new Received: from finestructure.net (bowman.ligo-wa.caltech.edu [198.129.208.22]) (Authenticated sender: jrollins) by earth-doxen-submit (Postfix) with ESMTP id 5A16666E012E; Thu, 6 Oct 2011 18:14:14 -0700 (PDT) Received: by finestructure.net (Postfix, from userid 1000) id B82406DA; Thu, 6 Oct 2011 18:14:13 -0700 (PDT) From: Jameson Graef Rollins To: David Bremner , notmuch Subject: Re: output file argument to notmuch dump. In-Reply-To: <8739f5tzxj.fsf@zancas.localnet> References: <8739f5tzxj.fsf@zancas.localnet> User-Agent: Notmuch/0.8-39-g41a8324 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Thu, 06 Oct 2011 18:14:11 -0700 Message-ID: <87fwj5y55o.fsf@servo.factory.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2011 01:14:20 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner wrote: > I see several options. >=20 > 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. >=20 > 2) delete the output file option and a global "--write" option that=20 > calls freopen(... stdout). As a bonus(?) this would work for any=20 > notmuch command. I strongly support either of these two options (they're basically the same as far as I'm concerned). The consistency that this would provide with rest of the notmuch commands alone kind of makes this a no-brainer in my opinion. And I certainly don't see this particular CLI breakage as an issue either. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJOjlJjAAoJEO00zqvie6q8/Z8QAJsmgXfMyE+eYJLv7uV6AZkk ZNlhXGKYatZ6WpTKVYyJnQOYAl+SpG16lTB+fPgNPM7NmzU02IU1bG2ZDTLFu+kL OzK8bkNZAzDk4JIrer68fW17b8KkJ2OIGlr4rDwkaC5ss2qhzx1nZrbKpbXwcWXs zxsIWIz98et/YOOfrslpdu075nXMzot86px3/j7HdlZAoTaLIf2/tlxXIeSb+Zjw Ys04WvcAog4pGBXqODZGkcIOhu4lOqqK6U2Sg9UqSMZDfF9bKlmleJklNzZnJrRc FBr54bCUhunap0FLJVr0vQ0hxC05YFu2nBGvMA+i/qzRm2HDWZeGga3AbuiEJNvp jlAy1iSZ+Hot74Ycn72wY6QIK6JuRseqHDuZfor2OWwSt1Fi19XQBtShqhMJU3M2 Xd+87iHWQqmi341XhCWkh2YLOurcqbVDllsaBsrU9flO9OZBAmZs3GawGUJQ2Me0 kVKB+IVbdILf2jYIZP9RLtkY6DNw+yCg/Oc9okT/AYZ/73z1VXGZYeltk/Ea1a84 CiqHCv8f8bgHjk6C4JjwMFe+zsbIH3UXcy0CmLgohqcwC9krGeAXGSUyT9tjmRrF UdLUOyDVPYIgcEGBsqy0YR3dezq+VxDHN5vLCdyc6XnJjOUpi4vM8hlDV+UuC4uL do2bVpYoFnD1M+cpfM6N =paZi -----END PGP SIGNATURE----- --=-=-=--