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

Re: conditionally match part of file name to most recently modified file



On 2007-06-18 at 14:55 +0100, Peter Stephenson wrote:
> I've wondered for quite a long time why that's not the default since the
> times when you want to identify symbolic links themselves are limited.  I
> wonder if it's time for another option?  What would it do, make it so
> that both (/) and (-/) followed symbolic links but (--/) didn't?

In combination with recursive globs looking at stuff, wanting to look at
a user's files, not whatever they might be linking to?

Ie, I might use ***/*(-.) in some places, but **/*(.) is the safer mode,
especially when invoked as root.

Changing the default behaviour would be just too clever and likely to
have unintended security repercussions so if it's a new option, please
make it default to off?



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