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
- X-seq: zsh-workers 23779
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx, Vincent Lefevre <vincent@xxxxxxxxxx>, 438666-forwarded@xxxxxxxxxxxxxxx
- Subject: Re: Bug#438666: zsh/stat and symlinks: reverse the effect of the -L option
- Date: Sat, 18 Aug 2007 21:44:59 -0400
- In-reply-to: <20070818201037.GA5394@xxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx, Vincent Lefevre <vincent@xxxxxxxxxx>, 438666-forwarded@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20070818201037.GA5394@xxxxxxxxxxxxxxxxxxx>
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