From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 261F6431FBF for ; Sun, 9 Mar 2014 06:19:30 -0700 (PDT) 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 cN4bM95iuvEw for ; Sun, 9 Mar 2014 06:19:22 -0700 (PDT) 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 8B761431FBC for ; Sun, 9 Mar 2014 06:19:22 -0700 (PDT) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1WMddQ-0003wM-Sl; Sun, 09 Mar 2014 10:19:20 -0300 Received: (nullmailer pid 8569 invoked by uid 1000); Sun, 09 Mar 2014 13:19:17 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH v2] support for generating decreasing dates in bash 4.0 and 4.1 In-Reply-To: <1392066900-11207-1-git-send-email-tomi.ollila@iki.fi> References: <1388593552-25920-1-git-send-email-tomi.ollila@iki.fi> <1392066900-11207-1-git-send-email-tomi.ollila@iki.fi> User-Agent: Notmuch/0.17+111~g93cd619 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Sun, 09 Mar 2014 10:19:17 -0300 Message-ID: <87d2hva4ru.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, 09 Mar 2014 13:19:30 -0000 Tomi Ollila writes: > The printf builtin "%(fmt)T" specifier (which allows time values > to use strftime-like formatting) is introduced in bash 4.2. > > Trying to execute this in pre-4.2 bash will fail -- and if this > happens execute the fallback piece of perl code to do the same pushed. d