[PATCH v3 5/5] man: document notmuch search --format=text0
authorJani Nikula <jani@nikula.org>
Sun, 16 Dec 2012 21:02:41 +0000 (23:02 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:52:26 +0000 (09:52 -0800)
39/69f2692befe99a5ec3775daf6191cfd9e937c9 [new file with mode: 0644]

diff --git a/39/69f2692befe99a5ec3775daf6191cfd9e937c9 b/39/69f2692befe99a5ec3775daf6191cfd9e937c9
new file mode 100644 (file)
index 0000000..952388a
--- /dev/null
@@ -0,0 +1,138 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id B60E5431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 16 Dec 2012 13:03:02 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 0dcKj4fIPM43 for <notmuch@notmuchmail.org>;\r
+       Sun, 16 Dec 2012 13:03:02 -0800 (PST)\r
+Received: from mail-la0-f53.google.com (mail-la0-f53.google.com\r
+       [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id F3FFE431FB6\r
+       for <notmuch@notmuchmail.org>; Sun, 16 Dec 2012 13:03:01 -0800 (PST)\r
+Received: by mail-la0-f53.google.com with SMTP id w12so4045379lag.26\r
+       for <notmuch@notmuchmail.org>; Sun, 16 Dec 2012 13:03:00 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
+       :in-reply-to:references:x-gm-message-state;\r
+       bh=P8LWGdJKXm23XbNO4hNaNYzv8BokoAwARZA29B7btdk=;\r
+       b=otGjdnhb8/DRiQU2M4mfCxq8POQIY+vmtDo4eXK2ZspQi/6V+7GEL7+LJXVtWpDLD2\r
+       wAoaKdXsTHr9SMQI86WeFs0JgU8dLsdUz9vzKaXPcgMwxzUnPqTiMQJ3nBRMnudwHuMm\r
+       1anDDj/Iz69b/N4qKybZj0jzYb0EFH9C/haWcjGyiBhUQFVk3u+eusJVADDwrClsX58e\r
+       To/oEQiqCE7WxV+USo6h3AXjlR01xBopdeybWsf/2RCfyQ3JyoWzJCTzbwlM/BzDS+W3\r
+       tppp5XISYtz8tJ22/pv1mID3Lh+2r0XpCcyUT6hFh2gs80mESl7ElyjL3PWjInmRuPAj\r
+       oi+g==\r
+Received: by 10.112.28.133 with SMTP id b5mr5066978lbh.79.1355691780394;\r
+       Sun, 16 Dec 2012 13:03:00 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.\r
+       [80.223.81.27])\r
+       by mx.google.com with ESMTPS id k7sm4117517lbf.4.2012.12.16.13.02.58\r
+       (version=SSLv3 cipher=OTHER); Sun, 16 Dec 2012 13:02:59 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v3 5/5] man: document notmuch search --format=text0\r
+Date: Sun, 16 Dec 2012 23:02:41 +0200\r
+Message-Id:\r
+ <75d5a83620ac5262b70133eafa6d7ecf408c7e94.1355691124.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.10.4\r
+In-Reply-To: <cover.1355691124.git.jani@nikula.org>\r
+References: <cover.1355691124.git.jani@nikula.org>\r
+In-Reply-To: <cover.1355691124.git.jani@nikula.org>\r
+References: <cover.1355691124.git.jani@nikula.org>\r
+X-Gm-Message-State:\r
+ ALoCoQkRGt9Gax4D106sshb0vmTYgQ+s/u0ejvwzP07iO1JLprsequUEcy3fvIp5W5ueBz76FLOL\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 16 Dec 2012 21:03:02 -0000\r
+\r
+---\r
+ man/man1/notmuch-search.1 |   26 ++++++++++++++++----------\r
+ 1 file changed, 16 insertions(+), 10 deletions(-)\r
+\r
+diff --git a/man/man1/notmuch-search.1 b/man/man1/notmuch-search.1\r
+index 0aff348..22bcd0a 100644\r
+--- a/man/man1/notmuch-search.1\r
++++ b/man/man1/notmuch-search.1\r
+@@ -25,9 +25,11 @@ Supported options for\r
+ include\r
+ .RS 4\r
+ .TP 4\r
+-.BR \-\-format= ( json | sexp | text )\r
++.BR \-\-format= ( json | sexp | text | text0 )\r
\r
+-Presents the results in either JSON, S-Expressions or plain-text (default).\r
++Presents the results in either JSON, S-Expressions, newline character\r
++separated plain-text (default), or null character separated plain-text\r
++(compatible with \fBxargs\fR(1) -0 option where available).\r
+ .RE\r
\r
+ .RS 4\r
+@@ -48,32 +50,36 @@ the authors of the thread and the subject.\r
+ .B threads\r
\r
+ Output the thread IDs of all threads with any message matching the\r
+-search terms, either one per line (\-\-format=text) or as a JSON array\r
+-(\-\-format=json) or an S-Expression list (\-\-format=sexp).\r
++search terms, either one per line (\-\-format=text), separated by null\r
++characters (\-\-format=text0), as a JSON array (\-\-format=json), or\r
++an S-Expression list (\-\-format=sexp).\r
+ .RE\r
+ .RS 4\r
+ .TP 4\r
+ .B messages\r
\r
+ Output the message IDs of all messages matching the search terms,\r
+-either one per line (\-\-format=text) or as a JSON array\r
+-(\-\-format=json) or as an S-Expression list (\-\-format=sexp).\r
++either one per line (\-\-format=text), separated by null characters\r
++(\-\-format=text0), as a JSON array (\-\-format=json), or as an\r
++S-Expression list (\-\-format=sexp).\r
+ .RE\r
+ .RS 4\r
+ .TP 4\r
+ .B files\r
\r
+ Output the filenames of all messages matching the search terms, either\r
+-one per line (\-\-format=text) or as a JSON array (\-\-format=json) or\r
+-as an S-Expression list (\-\-format=sexp).\r
++one per line (\-\-format=text), separated by null characters\r
++(\-\-format=text0), as a JSON array (\-\-format=json), or as an\r
++S-Expression list (\-\-format=sexp).\r
+ .RE\r
+ .RS 4\r
+ .TP 4\r
+ .B tags\r
\r
+ Output all tags that appear on any message matching the search terms,\r
+-either one per line (\-\-format=text) or as a JSON array (\-\-format=json)\r
+-or as an S-Expression list (\-\-format=sexp).\r
++either one per line (\-\-format=text), separated by null characters\r
++(\-\-format=text0), as a JSON array (\-\-format=json), or as an\r
++S-Expression list (\-\-format=sexp).\r
+ .RE\r
+ .RE\r
\r
+-- \r
+1.7.10.4\r
+\r