Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Missing "--" in the "age" function
- X-seq: zsh-workers 31424
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: Missing "--" in the "age" function
- Date: Wed, 22 May 2013 20:21:55 +0100
- Cc: zsh-workers@xxxxxxx
- 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==
- In-reply-to: <20130522094601.4bdd8fbe@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: Peter Stephenson <p.stephenson@xxxxxxxxxxx>, zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20130521115332.GA9976@chaz.gmail.com> <20130521161928.5c59471f@pwslap01u.europe.root.pri> <20130521191022.GB9976@chaz.gmail.com> <20130522094601.4bdd8fbe@pwslap01u.europe.root.pri>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author