Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 06B4E431FD5 for ; Sat, 11 Jan 2014 16:15:20 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 uNS+RU6pwZjm for ; Sat, 11 Jan 2014 16:15:16 -0800 (PST) Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 16187431FC3 for ; Sat, 11 Jan 2014 16:15:16 -0800 (PST) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1W28hu-0006gl-Ds; Sat, 11 Jan 2014 20:15:14 -0400 Received: (nullmailer pid 8127 invoked by uid 1000); Sun, 12 Jan 2014 00:15:10 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH 1/1] test: support for generating decreasing dates with bash 4.0 and 4.1 In-Reply-To: <1388593552-25920-1-git-send-email-tomi.ollila@iki.fi> References: <1388593552-25920-1-git-send-email-tomi.ollila@iki.fi> User-Agent: Notmuch/0.17+16~gd4acd22 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Sat, 11 Jan 2014 20:15:10 -0400 Message-ID: <87wqi6ys1d.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain Cc: tomi.ollila@iki.fi 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: Sun, 12 Jan 2014 00:15:20 -0000 Tomi Ollila writes: > Added a new function `secs_to_rfc2822date` which uses the above specifier > with post 4.1 bash and perl(1) construct with pre-4.2 bash. Wouldn't it be simpler to always use perl? d