Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Files modified after a given date



Bruce Stephens wrote:
>You could write a function using the stat module, but I don't think we
>have user-defined glob patterns yet?

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, and use its
return value to decide whether it matches or not.  Should be quite easy
to implement -- just a few lines.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author