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

Re: _canonical_path not working on *BSD



On Mar 26,  4:04pm, Peter Stephenson wrote:
}
} Hmm... sorry about all the traffic... actually, it still doesn't
} guarantee to give a canonical path as "readlink -f" does, since it
} doesn't check if the value returned is itself a symbolic link

Using a while-loop in shell code leads to a potentially infinite loop
on a symlink cycle.  I think readlink and realpath have some sort of
defense against that.



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