From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2188 invoked by alias); 22 May 2013 08:46:14 -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: 31421 Received: (qmail 17952 invoked from network); 22 May 2013 08:46:07 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at samsung.com does not designate permitted sender hosts) X-AuditID: cbfec7f5-b7f376d000001ec6-98-519c85ca9667 Date: Wed, 22 May 2013 09:46:01 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Missing "--" in the "age" function Message-id: <20130522094601.4bdd8fbe@pwslap01u.europe.root.pri> In-reply-to: <20130521191022.GB9976@chaz.gmail.com> References: <20130521115332.GA9976@chaz.gmail.com> <20130521161928.5c59471f@pwslap01u.europe.root.pri> <20130521191022.GB9976@chaz.gmail.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplluLIzCtJLcpLzFFi42I5/e/4Nd1TrXMCDeb/lbY42PyQyYHRY9XB D0wBjFFcNimpOZllqUX6dglcGY9WL2Mp+MRWceKFQgPjWtYuRk4OCQETidWTXzJB2GISF+6t Z+ti5OIQEljKKNF25D0LhLOcSWLJs9VgHSwCqhJvVs5hA7HZBAwlpm6azQhiiwiIS5xde54F xBYW0JfofnQArJ5XwF5i6cstzCA2p4CxxM4Jx9khhk5klOj6uIUdJMEP1HD17yeoM+wlZl45 wwjRLCjxY/I9sKHMAloSm7c1sULY8hKb17xlnsAoMAtJ2SwkZbOQlC1gZF7FKJpamlxQnJSe a6RXnJhbXJqXrpecn7uJERKEX3cwLj1mdYhRgINRiYf3Ye3sQCHWxLLiytxDjBIczEoivApB cwKFeFMSK6tSi/Lji0pzUosPMTJxcEo1MLL+5Dj8t6Gtvz4wUjxe7Ms8vnMfpFU1JN6/FHyV FDN1UWn9Eub+ssqjpRO2LCr4bvO99+OB7Ptfmb9ZtW+MPOAU2VuuFPwgYs/ivn3xjAFpu8Lk NtxWLhDq+W19cULT7I4Ik2Pb3L5fNnaonKZ0N7iJKUtSJ2mHWQLf1DmhrhpbdxwRi+d6p8RS nJFoqMVcVJwIAIkxcBMgAgAA On Tue, 21 May 2013 20:10:22 +0100 Stephane Chazelas 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