1 Return-Path: <jrollins@finestructure.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id A1E24429E27
\r
6 for <notmuch@notmuchmail.org>; Tue, 29 Nov 2011 06:40:29 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id da1nR4DxuUuI for <notmuch@notmuchmail.org>;
\r
16 Tue, 29 Nov 2011 06:40:27 -0800 (PST)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 09562429E26
\r
20 for <notmuch@notmuchmail.org>; Tue, 29 Nov 2011 06:40:27 -0800 (PST)
\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by fire-doxen-postvirus (Postfix) with ESMTP id 70D4C328037;
\r
23 Tue, 29 Nov 2011 06:40:24 -0800 (PST)
\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new
\r
25 Received: from finestructure.net (dyn-pupin-171-39.dyn.columbia.edu
\r
26 [128.59.171.39]) (Authenticated sender: jrollins)
\r
27 by fire-doxen-submit (Postfix) with ESMTP id 786CE2E50B36;
\r
28 Tue, 29 Nov 2011 06:40:17 -0800 (PST)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id 8179DBB0; Tue, 29 Nov 2011 06:40:16 -0800 (PST)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>,
\r
33 Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org
\r
34 Subject: Re: [PATCH 1/3] test: add functions to count how much times notmuch
\r
36 In-Reply-To: <87hb1ovsz4.fsf@gmail.com>
\r
37 References: <1322271878-32614-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
38 <1322450895-32523-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
39 <1322450895-32523-2-git-send-email-dmitry.kurochkin@gmail.com>
\r
40 <yf6aa7gj7w5.fsf@taco2.nixu.fi> <87hb1ovsz4.fsf@gmail.com>
\r
41 User-Agent: Notmuch/0.10~rc1+25~g719d650 (http://notmuchmail.org) Emacs/23.3.1
\r
42 (x86_64-pc-linux-gnu)
\r
43 Date: Tue, 29 Nov 2011 09:40:16 -0500
\r
44 Message-ID: <87wrajuh4f.fsf@servo.finestructure.net>
\r
46 Content-Type: multipart/signed; boundary="=-=-=";
\r
47 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Tue, 29 Nov 2011 14:40:29 -0000
\r
63 Content-Transfer-Encoding: quoted-printable
\r
65 On Tue, 29 Nov 2011 01:26:39 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmai=
\r
67 > > echo \$((count + 1)) > "$notmuch_counter_state_path"
\r
69 > I do not think this is really an optimization. And I find expr more
\r
70 > clear than using $(()). I always have troubles remembering "random
\r
71 > special char syntax" (yeah, not a Perl fan :)), prefer human friendly
\r
74 This allows the shell to do the math itself, without calling a
\r
75 subprocess. I agree with Tomi that $(()) is a little cleaner.
\r
80 Content-Type: application/pgp-signature
\r
82 -----BEGIN PGP SIGNATURE-----
\r
83 Version: GnuPG v1.4.11 (GNU/Linux)
\r
85 iQIcBAEBCAAGBQJO1O7QAAoJEO00zqvie6q8UYUP/17RpOvVzqDVKpB+PImdLM4E
\r
86 u/+ZiQ4SOHpn+OQJRFJt7IDomrUFZSwoDOMvPVlQ/NPG0bPgz0VXs0kPvScTQWmF
\r
87 Rdv9MWBX/f7LlUiC+SO9NqIq9hzQDRj10Wp2vcVAUYW8/lZYAw9MmnpzQd2ti2NP
\r
88 eR7SoEHuO55UKrkZ1ZTBxa61uyfFdhXVC3bWoZySnSj2Bc5BPLBVy9bt6DRSWLNj
\r
89 DdPV8mBUptaNTzxtpqd9mBcvGie0nkJLV1ZXYQucaEd4Az/OQHTIGpKv1/BI0YDq
\r
90 g32Su4GlsQ1ZmFrOeY1LJ6Kn2MLkKxJMOH0eDk4yVEH+7u0bHBmyPGSXJjyyUqZR
\r
91 V+xuDLDpam1zTkDN/BCrSfwVJn311B6njUTzLUoVG7ibiYCpEzk8mojghNGlah7W
\r
92 uy98oE2p4EYdouIYuHX25tR4CJrts1Rn7JHcXmv20t5Wy1CPUK+2IF/XGKfE8+Ub
\r
93 FQ906OMv8lg0JGMvmwoNLG4QDEqx7h6sCjypni18w/NskyEiQbPmOOQwsxMWS44h
\r
94 w5aGuaLAOsdQYlMm4UXYBHS+kiQv3JBHqZs8R6w9M51oxSngkub/YQFwdYl49Ls8
\r
95 ad8Tcfkx0P6waCJ2022reqLm0C/u9wqJWyOuvZVUpfKwuXKAHy4nJrO3wjE3Ir6U
\r
96 Lfi4tFgvVKHh0vxQbnUq
\r
98 -----END PGP SIGNATURE-----
\r