From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5364 invoked from network); 9 Dec 1998 19:44:23 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 9 Dec 1998 19:44:23 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id OAA03898; Wed, 9 Dec 1998 14:39:28 -0500 (EST) Resent-Date: Wed, 9 Dec 1998 14:39:28 -0500 (EST) Message-ID: <19981209183606.52123@athenaeum.demon.co.uk> Date: Wed, 9 Dec 1998 18:36:06 +0000 From: Phil Pennock To: zsh-workers@math.gatech.edu Subject: Re: PATCH: stat option to set hash Mail-Followup-To: zsh-workers@math.gatech.edu References: <19981209011147.26739@athenaeum.demon.co.uk> <9812091016.AA43825@ibmth.df.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1 In-Reply-To: <9812091016.AA43825@ibmth.df.unipi.it>; from "Peter Stephenson" on Wed 9 Dec 1998 (11:16 +0100) Organisation: Organisation? Here? No, over there ----> X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine and mine alone. Such views do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. X-Phase-of-Moon: The Moon is Waning Gibbous (60% of Full) Resent-Message-ID: <"Avdu7.0.ny.m7jRs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4738 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Typing away merrily, Peter Stephenson produced the immortal words: > > It seems to me > > anomalous that stat primarily generates textual output. > > There's text and there's binary and...? It's more a case of how well it integrates into everything else. If you look at most of zsh's builtins and stuff, text output is used for status stuff, job status, requesting confirmation, tabs-stuff and zle generally. Aside from explicit print/echo and read not much causes the shell to produce data rather than user-fluff on stdout/err. select comes to mind, and pwd (which could as well be a shell wrapper around print and $PWD). User-fluff includes whence and internal status reporting stuff. 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. I know, I'm not expressing this very well. It's just... feel. -- --> Phil Pennock ; GAT d- s+:+ a22 C++(++++) UL++++/I+++/S+++/H+ P++@ L+++ E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+ G+ e+ h* r y?