zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: Re: Files modified after a given date
Date: Thu, 26 Aug 1999 09:08:21 +0200 (MET DST)	[thread overview]
Message-ID: <199908260708.JAA14516@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Wed, 25 Aug 1999 15:04:15 +0000


Bart Schaefer wrote:

> On Aug 25,  4:20pm, Sven Wischnowsky wrote:
> } Subject: PATCH: Re: Files modified after a given date
> }
> } 
> } Zefram wrote:
> } > That's one of the many things I never got round to.  I was going to
> } > have patterns like "*(F:func:)" call the shell function "func" with the
> } > name of each file which otherwise matches the glob pattern
> } 
> } [...] it also allows one to give additional arguments as in
> } `*(F:func::arg1::arg2:)' and so on -- these are available as `$2'
> } etc. in the function. And finally it allows the function to say *what* 
> } should be included by setting the `reply' or `REPLY' parameter to a
> } string or array (`REPLY' is only tested for a string value).
> } 
> } (Maybe this is going a bit too far?)
> 
> I don't have a problem with using reply/REPLY, but I think supplying
> additional arguments inside the glob qualifier is a bit excessive (and also
> accounts for most of the size of this patch, no?).

No, it's basically the loop in glob() -- 18 lines and without it
qualshfunc() would be slightly bigger. (And it may save someone from
implementing sets of wrapper functions, of course.)

But if everyone prefers it without the arguments, I'm ready to take it 
out.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~1999-08-26  7:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-26  7:08 Sven Wischnowsky [this message]
1999-08-30 13:09 ` Peter Stephenson
  -- strict thread matches above, loose matches on Subject: below --
1999-08-30  9:10 Sven Wischnowsky
1999-08-27  8:13 Sven Wischnowsky
1999-08-27 22:39 ` Ollivier Robert
1999-08-26 12:16 Sven Wischnowsky
1999-08-26 12:27 ` Zefram
1999-08-26 11:35 Sven Wischnowsky
1999-08-26 12:05 ` Zefram
1999-08-30 13:17 ` Peter Stephenson
1999-08-26  9:42 Sven Wischnowsky
1999-08-26  9:58 ` Zefram
1999-08-25 14:20 Sven Wischnowsky
1999-08-25 15:04 ` Bart Schaefer
1999-08-26  7:07 ` Andrej Borsenkow

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=199908260708.JAA14516@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).