zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: Missing "--" in the "age" function
Date: Wed, 22 May 2013 09:46:01 +0100	[thread overview]
Message-ID: <20130522094601.4bdd8fbe@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <20130521191022.GB9976@chaz.gmail.com>

On Tue, 21 May 2013 20:10:22 +0100
Stephane Chazelas <stephane.chazelas@gmail.com> wrote:
> 2013-05-21 16:19:28 +0100, Peter Stephenson:
> [...]
> 
> Thanks.
> 
> > +example(print *+LPAR()e-age :file1 :file2-+RPAR())
> > +
> > +This matches all files modified no earlier than tt(file1) and
> > +no later than tt(file2).
> [...]
> 
> In that case, shouldn't it be:
> 
> zstat -A tmp -F "%Y/%m/%d:%H:%M:%S"...
> 
> instead of 
> 
> zstat -A tmp -F "%Y/%m/%d"...

Hmm, it's a bit overloaded.  If you give an explicit date (just one),
you'd get files modified on that date; if you give a time as well the
start point moves up to that time; that's most useful with two arguments
to give a range.

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?

pws


  reply	other threads:[~2013-05-22  8:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-21 11:53 Stephane Chazelas
2013-05-21 15:19 ` Peter Stephenson
2013-05-21 19:10   ` Stephane Chazelas
2013-05-22  8:46     ` Peter Stephenson [this message]
2013-05-22 19:21       ` Stephane Chazelas
2013-05-22 20:00       ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130522094601.4bdd8fbe@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).