From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25180 invoked from network); 12 Mar 1997 15:55:19 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 12 Mar 1997 15:55:19 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA08458; Wed, 12 Mar 1997 10:48:30 -0500 (EST) Resent-Date: Wed, 12 Mar 1997 10:48:30 -0500 (EST) From: Zefram Message-Id: <14549.199703121550@stone.dcs.warwick.ac.uk> Subject: Re: stat module To: pws@ifh.de (Peter Stephenson) Date: Wed, 12 Mar 1997 15:50:53 +0000 (GMT) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199703121337.OAA25216@hydra.ifh.de> from "Peter Stephenson" at Mar 12, 97 02:37:53 pm X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]9013.30 X-Phase: The Moon is Waxing Crescent (18% of Full) X-US-Congress: Moronic fuckers X-Personality: INTJ Content-Type: text Resent-Message-ID: <"1haRm1.0.542.D1j9p"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2987 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Peter Stephenson wrote: >Here's a zsh module which implements a builtin `stat' command as a >front end to the `stat' system call; Great. (One harmless bug: you test for S_ISCHR() twice.) >There's an external stat in IRIX; I didn't try and make it compatible >because I thought my syntax for selecting particular stat elements was >much clearer. Interesting. I also wrote a stat program a while ago. I wonder why such a useful program hasn't become standard. There's one feature in my stat program that I think could would be useful in this module: if it found a symlink, it would `manually' follow the link, and output information for the entire chain of symlinks up to the actual file. Does someone have time to add this? -zefram