]> git.notmuchmail.org Git - notmuch/blobdiff - man/man1/notmuch-dump.1
version: bump to 0.15.1
[notmuch] / man / man1 / notmuch-dump.1
index 770b00fcde6e2d0970e954553008fdf01d0e402f..799fd7b64bc5ff80d6d6f7359eb7517800b8909b 100644 (file)
@@ -1,4 +1,4 @@
-.TH NOTMUCH-DUMP 1 2012-08-20 "Notmuch 0.14"
+.TH NOTMUCH-DUMP 1 2013-01-24 "Notmuch 0.15.1"
 .SH NAME
 notmuch-dump \- creates a plain-text dump of the tags of each message
 
@@ -64,13 +64,16 @@ and tags containing whitespace or non-\fBascii\fR(7) characters.
 Each line has the form
 
 .RS 4
-.RI "+<" "encoded-tag" "> " "" "+<" "encoded-tag" "> ... -- " "" " id:<" encoded-message-id >
+.RI "+<" "encoded-tag" "> " "" "+<" "encoded-tag" "> ... -- " "" " id:<" quoted-message-id >
 
-where encoded means that every byte not matching the regex
+Tags are hex-encoded by replacing every byte not matching the regex
 .B [A-Za-z0-9@=.,_+-]
-is replace by
+with
 .B %nn
-where nn is the two digit hex encoding.
+where nn is the two digit hex encoding.  The message ID is a valid Xapian
+query, quoted using Xapian boolean term quoting rules: if the ID contains
+whitespace or a close paren or starts with a double quote, it must be
+enclosed in double quotes and double quotes inside the ID must be doubled.
 The astute reader will notice this is a special case of the batch input
 format for \fBnotmuch-tag\fR(1); note that the single message-id query is
 mandatory for \fBnotmuch-restore\fR(1).