From: Zefram <zefram@dcs.warwick.ac.uk>
To: pws@ifh.de (Peter Stephenson)
Cc: zsh-workers@math.gatech.edu
Subject: Re: stat module
Date: Wed, 12 Mar 1997 15:50:53 +0000 (GMT) [thread overview]
Message-ID: <14549.199703121550@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <199703121337.OAA25216@hydra.ifh.de> from "Peter Stephenson" at Mar 12, 97 02:37:53 pm
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
prev parent reply other threads:[~1997-03-12 15:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-12 13:37 Peter Stephenson
1997-03-12 15:50 ` Zefram [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14549.199703121550@stone.dcs.warwick.ac.uk \
--to=zefram@dcs.warwick.ac.uk \
--cc=pws@ifh.de \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).