From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24969 invoked from network); 19 Aug 2007 01:45:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Aug 2007 01:45:22 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 89058 invoked from network); 19 Aug 2007 01:45:15 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Aug 2007 01:45:15 -0000 Received: (qmail 24557 invoked by alias); 19 Aug 2007 01:45:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23779 Received: (qmail 24541 invoked from network); 19 Aug 2007 01:45:04 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 19 Aug 2007 01:45:04 -0000 Received: (qmail 88458 invoked from network); 19 Aug 2007 01:45:04 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 19 Aug 2007 01:45:01 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 703835CF32; Sat, 18 Aug 2007 21:44:58 -0400 (EDT) Date: Sat, 18 Aug 2007 21:44:59 -0400 From: Clint Adams To: zsh-workers@sunsite.dk, Vincent Lefevre , 438666-forwarded@bugs.debian.org Subject: Re: Bug#438666: zsh/stat and symlinks: reverse the effect of the -L option Message-ID: <20070819014459.GA20276@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk, Vincent Lefevre , 438666-forwarded@bugs.debian.org References: <20070818201037.GA5394@vin.lip.ens-lyon.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070818201037.GA5394@vin.lip.ens-lyon.fr> User-Agent: Mutt/1.5.16 (2007-06-11) 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.