in reply to Re: String expansion script
in thread String expansion script
I for one would prefer not to see this idea made specific to pathname matching. I see it more as a kind of narrow-case templating. Comparing it to capabilities currently available in shells may not be fair or desirable; for example, the brace expansion features of zsh/bash result only in the names of existing paths that match; so if you say ls m{8:11} but have no files matching that pattern, the result is null, not m8 m9 m10 m11.
As for nesting - I think calling the expander reiteratively (or recursively ;-) could give you that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: String expansion script
by ambrus (Abbot) on Feb 03, 2005 at 20:30 UTC | |
by jdporter (Paladin) on Feb 03, 2005 at 20:52 UTC |