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

Re: Bug#438666: zsh/stat and symlinks: reverse the effect of the -L option



On Sat, Aug 18, 2007 at 10:10:37PM +0200, Vincent Lefevre wrote:
> With the stat builtin from the zsh/stat module, symbolic links are
> dereferenced by default and the -L option allows to get information
> on the link itself. Both stat from the coreutils and BSD stat do it
> the opposite way (-L allows to dereference the link, a bit link with
> "ls -L"). So, I think that the effect of -L should be reversed for
> the stat builtin, hoping this won't break too much code using this
> builtin.
> 
> If this can't be changed, the zshmodules man page should warn about
> the difference.

I have no opinion.



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