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

Re: checking link files - recursive search



<posted & mailed>

Matt Wozniski wrote:

> On 7/28/07, pol <linux_milano@xxxxxxxx> wrote:
> so, you should be able to just use
> file=$(readlink -f "$file")
> assuming you'd like to resolve links recursively, so that a link to a
> link to a file resolves to the file and not the middle link.

You are right, my script does not perform recursive search, as i would.
Using readlink would be a solution.
I am wondering whether Zsh can meet that request internally, without
resorting to external programs

Pol 




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