Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ** bug?
- X-seq: zsh-workers 393
- From: chs@xxxxxxxxx (Chip Salzenberg)
- To: hari@xxxxxxxxxx (Hariharan Dhandapani)
- Subject: Re: ** bug?
- Date: Tue, 19 Sep 1995 15:02:20 -0400 (EDT)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <9509191820.AA01104@xxxxxxxxxxxxxxxxxxxxxxxx> from "Hariharan Dhandapani" at Sep 19, 95 11:20:20 am
According to Hariharan Dhandapani:
> Thanks for all your responses, "***" does work and does what i want it
> to do, however what is the rationale behind differenitating symbolic
> links, why doesn't "**" itself follow symbolic links too ...
Following symlinks is a dangerous policy. You'll note that "find"
and similar commands usually don't follow symlinks unless they're told
to. Consider:
$ mkdir infinite
$ cd infinite
$ ln -s .. loop
Now if you follow symlinks, you have infinite/loop/infinite/loop/...
--
Chip Salzenberg, aka <chs@xxxxxxxxx>
"Hey, it's the Miss Alternate Universe Pageant!"
-- Crow T. Robot, MST3K: "Stranded In Space"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author