From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4548 invoked by alias); 30 Aug 2015 05:26:09 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36332 Received: (qmail 18240 invoked from network); 30 Aug 2015 05:26:08 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=qfXMio47G+kXhl2oYkkVjvO+QeViLy0Fqr+l9oxly2g=; b=H3oAqkijUk2Xiev9Su3FHmvLQ79yl0B2x/YwbrbBhKKhXhpLXRM6jbnm+ep0Z6gtZX 2MI1f59hubmHmMIuu0kFGJfz0em7pd4wzY05F43CDbHQFxRgGJQMu9Z8ycqAiv08Vjbs g/1EJfBZWAezrg9dG/hpvoaGcIDZ/ds9bsIhzBgMpsCeUIUwqRry+q54LW1urQ7gUixE V6el1aM1uyg/gBbnnxGJl//ZbFV0HQwq3if0K8hmeBRg4nNOr5K7H+C/i8ZJjeAfHvfO CF0x8QX3snj3e87qR2rhB2NeCGA2DKIpHQTRaT2s8rOfI0bvMSbqxlsmsqvxCYvUv9oF sjfg== X-Received: by 10.180.104.68 with SMTP id gc4mr12450200wib.78.1440912365068; Sat, 29 Aug 2015 22:26:05 -0700 (PDT) Date: Sun, 30 Aug 2015 07:26:03 +0200 From: Timo Buhrmester To: Bart Schaefer Cc: Zsh hackers list Subject: Re: [patch] "which"-builtin writes diagnostics to stdout Message-ID: <20150830052603.GE18893@frozen.localdomain> References: <20150830030614.GB18893@frozen.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) > > | % which doesnotexist > > | doesnotexist not found > > > > the "doesnotexist not found" message goes to standard output, rather than standard error. > > Believe it or not, this is intentional, because the original "which" > builtin from csh does that. Try it in tcsh, for example. Uh, okay. Out of curiosity, what reason would zsh (being more bourne-ish than csh-ish, as far as I can tell) have to maintain this particular csh glitch rather than fixing it? How many csh scripts that run on zsh are out in the wild? How many csh scripts are out in the wild at all? :-) Timo Buhrmester