Re: Wildcards, ant/zsh style
Bram Moolenaar <[email protected]> Wed, 01 Sep 2004 16:18:28 +0200
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
Stefan Arentz wrote:
> This is more a feature request than a question I guess :)
>
> In zsh and ant (the java build tool) i can specify files like this:
>
> **/*.c
>
> Find all *.c files, recursive.
>
> Which is very useful for recipies like this:
>
> distclean:
> :del {quiet} {force} **/*~ **/#*
>
> For which we now must do:
>
> distclean:
> :tree . {filename = .*~}
> :delete {quiet} $name
>
> Any change of this kind of recursive globbing in Aap?
As you mentioned it's already possible with the ":tree" command. I
don't plan to change the wildcard expansion, at least not soon.
Is there a Python function for this kind of wildcard expansion?
--
ARTHUR: (as the MAN next to him is squashed by a sheep) Knights! Run away!
Midst echoing shouts of "run away" the KNIGHTS retreat to cover with the odd
cow or goose hitting them still. The KNIGHTS crouch down under cover.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click