zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@math.gatech.edu
Subject: Re: PATCH: stat option to set hash
Date: Thu, 10 Dec 1998 09:48:19 +0100	[thread overview]
Message-ID: <9812100848.AA19325@ibmth.df.unipi.it> (raw)
In-Reply-To: "Phil Pennock"'s message of "Wed, 09 Dec 1998 18:36:06 NFT." <19981209183606.52123@athenaeum.demon.co.uk>

Phil Pennock wrote:
> Normally zsh acts as a filter controller, not a data-source beyond basic
> user-input stuff.  I know I'm not important in zsh development, but it
> just feels wrong when I see stat shove stuff to stdout.

That's why there's the options for using variables.  It would be silly
to provide that and not go the extra mile to show the user what comes
out.  Then you'd have to write a stat function front end to the stat
builtin front end to the stat system call.  That's also why it's a
module and not part of the shell.

And since it doesn't seem worth a separate message to say so:  it
occurred to me that the replacement text in ${...//old/new} should
undergo $-substitution, like the pattern, but it's not worth producing
another patch until there's something to go with it.

And I think most people can use unidiffs these days, we're just
old-fashioned.

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


      reply	other threads:[~1998-12-10 23:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-09  1:11 Phil Pennock
1998-12-09 10:16 ` Peter Stephenson
1998-12-09 18:36   ` Phil Pennock
1998-12-10  8:48     ` Peter Stephenson [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=9812100848.AA19325@ibmth.df.unipi.it \
    --to=pws@ibmth.df.unipi.it \
    --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).