1 Return-Path: <jani@nikula.org>
\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 F16E8431FB6
\r
6 for <notmuch@notmuchmail.org>; Wed, 5 Dec 2012 00:13:26 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 VoeipyKMKZZs for <notmuch@notmuchmail.org>;
\r
16 Wed, 5 Dec 2012 00:13:22 -0800 (PST)
\r
17 Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com
\r
18 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id F3802431FAE
\r
21 for <notmuch@notmuchmail.org>; Wed, 5 Dec 2012 00:13:21 -0800 (PST)
\r
22 Received: by mail-bk0-f53.google.com with SMTP id j5so2487117bkw.26
\r
23 for <notmuch@notmuchmail.org>; Wed, 05 Dec 2012 00:13:20 -0800 (PST)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=from:to:subject:in-reply-to:references:user-agent:date:message-id
\r
27 :mime-version:content-type:content-transfer-encoding
\r
28 :x-gm-message-state;
\r
29 bh=CqqdvOFPCN44FgplX/50/ERevfl9whFmMED1pDkGa6g=;
\r
30 b=Wxmrj0lg4WjsVsiEWTs6mz1mbIwpSpafag3EdE6Gv+c0k6YwRCycEG6wwVTeEJaT+N
\r
31 31d60rI6eM7Dj7hCax8vOX8zfFl+1MInuyLif801dU/GcL9glxGP4ABvXyH2lV43yUIl
\r
32 HOfjYMWIp079xoSfnf1v+LNcU3y2sz/zeR/G+FELxS43Vj6dcr6eLBK4C94RCDPmkH/S
\r
33 1ESbCPT0aNnB6D/Zl+scMl/E+iOWrTTOlQ5BxEIbiMBLwH1pkxoZ2BBsSDW44veTOyi1
\r
34 AtA+Mz25cyUeFqmQWniK4puWhQ7wZE3UYj1geuWnI8QwZ+46yz5iIxbWxuD0lzVrVg0l
\r
36 Received: by 10.204.130.140 with SMTP id t12mr5049432bks.39.1354695200419;
\r
37 Wed, 05 Dec 2012 00:13:20 -0800 (PST)
\r
38 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])
\r
39 by mx.google.com with ESMTPS id l17sm2832377bkw.12.2012.12.05.00.13.18
\r
40 (version=SSLv3 cipher=OTHER); Wed, 05 Dec 2012 00:13:19 -0800 (PST)
\r
41 From: Jani Nikula <jani@nikula.org>
\r
42 To: Michal Nazarewicz <mina86@mina86.com>, notmuch@notmuchmail.org
\r
43 Subject: Re: [PATCH 3/3] test: use perl instead of sed -r for portability
\r
44 In-Reply-To: <xa1tip8h2zik.fsf@mina86.com>
\r
45 References: <cover.1354656085.git.jani@nikula.org>
\r
46 <66f7d91d6d2425149b5f4063274a6402662b9257.1354656085.git.jani@nikula.org>
\r
47 <xa1tip8h2zik.fsf@mina86.com>
\r
48 User-Agent: Notmuch/0.14+137~gda2ee8b (http://notmuchmail.org) Emacs/23.2.1
\r
49 (x86_64-pc-linux-gnu)
\r
50 Date: Wed, 05 Dec 2012 09:13:14 +0100
\r
51 Message-ID: <874nk0udb9.fsf@nikula.org>
\r
53 Content-Type: text/plain; charset=utf-8
\r
54 Content-Transfer-Encoding: quoted-printable
\r
56 ALoCoQk3Y4/wCcdSI1lWVJiIiloRd84zWAZHt6mYdsYRk2Ofdyi/Ktu+IyqXgdv1ElupXtvqTzbM
\r
57 X-BeenThere: notmuch@notmuchmail.org
\r
58 X-Mailman-Version: 2.1.13
\r
60 List-Id: "Use and development of the notmuch mail system."
\r
61 <notmuch.notmuchmail.org>
\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
65 List-Post: <mailto:notmuch@notmuchmail.org>
\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
69 X-List-Received-Date: Wed, 05 Dec 2012 08:13:27 -0000
\r
71 On Wed, 05 Dec 2012, Michal Nazarewicz <mina86@mina86.com> wrote:
\r
72 > On Tue, Dec 04 2012, Jani Nikula wrote:
\r
73 >> Our OS X users report -r is not a supported option for sed. Use perl
\r
76 >> test/test-lib.sh | 2 +-
\r
77 >> 1 file changed, 1 insertion(+), 1 deletion(-)
\r
79 >> diff --git a/test/test-lib.sh b/test/test-lib.sh
\r
80 >> index f169785..31ed107 100644
\r
81 >> --- a/test/test-lib.sh
\r
82 >> +++ b/test/test-lib.sh
\r
83 >> @@ -576,7 +576,7 @@ NOTMUCH_NEW ()
\r
85 >> notmuch_search_sanitize ()
\r
87 >> - sed -r -e 's/("?thread"?: ?)("?)................("?)/\1\2XXX\3/'
\r
88 >> + perl -pe 's/("?thread"?: ?)("?)................("?)/\1\2XXX\3/'
\r
90 > Alternatively, this could just be convert into a basic regexp:
\r
92 > sed -e 's/\("\?thread"\?: \?"\?\)................\("\?\)/\1XXX\2/'
\r
94 > which I think is even more portable, no?
\r
103 >> NOTMUCH_SHOW_FILENAME_SQUELCH=3D's,filename:.*/mail,filename:/XXX/mail,'
\r
106 > Best regards, _ _
\r
107 > .o. | Liege of Serenely Enlightened Majesty of o' \,=3D./ `o
\r
108 > ..o | Computer Science, Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz =
\r
110 > ooo +----<email/xmpp: mpn@google.com>--------------ooO--(_)--Ooo--
\r