From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7956 invoked from network); 10 Dec 1998 23:42:11 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (7795@203.24.36.3) by ns1.primenet.com.au with SMTP; 10 Dec 1998 23:42:11 -0000 Received: (qmail 11691 invoked from network); 10 Dec 1998 09:09:34 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns2.primenet.com.au with SMTP; 10 Dec 1998 09:09:34 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id EAA17265; Thu, 10 Dec 1998 04:04:45 -0500 (EST) Resent-Date: Thu, 10 Dec 1998 04:04:45 -0500 (EST) Message-Id: <9812100848.AA19325@ibmth.df.unipi.it> To: zsh-workers@math.gatech.edu Subject: Re: PATCH: stat option to set hash In-Reply-To: "Phil Pennock"'s message of "Wed, 09 Dec 1998 18:36:06 NFT." <19981209183606.52123@athenaeum.demon.co.uk> Date: Thu, 10 Dec 1998 09:48:19 +0100 From: Peter Stephenson Resent-Message-ID: <"PfpTE.0.iD4.iwuRs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4739 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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 Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy