From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17395 invoked by alias); 22 May 2013 22:01:43 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31424 Received: (qmail 19828 invoked from network); 22 May 2013 22:01:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.212.169 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=3UWj508C9vvptlWO+EXIAK51R0qJ9h6q34CIifb69Zw=; b=vtzpT9H4dMQ7WAjExSdJH87hcIohg33GPjDVL2LyjYcOzBT0TzklAVv0qK+4llBWP3 V8B077nc9bSHT8dEJyQfOB5d/HpKS8R6s1I28qQ6MWRC0TstkmqcD1Q8MelPGnQ0U68P ECkbQJIVI7HSxanN2X8fet++/NxlIEas5P4BgIubgdgiTRzA78bIj1sl4OumqtY2iBSU a1FbXsxYX0u0sRsmJLzcHDthcjnEjV/IP9Mqsyidbf/ZpTsbhLeRiX8sypJ9btrnDC4Y XCgBQTT/d/Emi8q0Qc8c+kvlQSVv3WQlUQ8Y9b1fhNcXyh7LjLXlT4PXwXFZQQYl8/Pi Y7Hg== X-Received: by 10.181.13.112 with SMTP id ex16mr36812002wid.28.1369250518188; Wed, 22 May 2013 12:21:58 -0700 (PDT) Date: Wed, 22 May 2013 20:21:55 +0100 From: Stephane Chazelas To: Peter Stephenson Cc: zsh-workers@zsh.org Subject: Re: Missing "--" in the "age" function Message-ID: <20130522192155.GA9637@chaz.gmail.com> Mail-Followup-To: Peter Stephenson , zsh-workers@zsh.org References: <20130521115332.GA9976@chaz.gmail.com> <20130521161928.5c59471f@pwslap01u.europe.root.pri> <20130521191022.GB9976@chaz.gmail.com> <20130522094601.4bdd8fbe@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130522094601.4bdd8fbe@pwslap01u.europe.root.pri> User-Agent: Mutt/1.5.21 (2010-09-15) 2013-05-22 09:46:01 +0100, Peter Stephenson: [...] > Maybe the most convenient thing is if you give one :file argument it > uses the date, and if there is a second argument it uses the date and > time for both? [...] makes sense. Maybe the two args file comparison should then be implemented with [[ $REPLY -nt ${AGEREF#:} ]] so it works on systems with sub-second mtime precision. (and allow the :file syntax in $AGEREF as well, not only in "age" arguments). -- Stephane