From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2726 invoked from network); 20 Jan 2003 05:56:42 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 20 Jan 2003 05:56:42 -0000 Received: (qmail 20048 invoked by alias); 20 Jan 2003 05:56:17 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5765 Received: (qmail 20041 invoked from network); 20 Jan 2003 05:56:17 -0000 X-MessageWall-Score: 0 (sunsite.dk) From: "Bart Schaefer" Message-Id: <1030120055617.ZM6600@candle.brasslantern.com> Date: Mon, 20 Jan 2003 05:56:17 +0000 In-Reply-To: <20030119231354.35178.qmail@web12303.mail.yahoo.com> Comments: In reply to Le Wang "cygwin + /dev/stderr" (Jan 19, 6:13pm) References: <20030119231354.35178.qmail@web12303.mail.yahoo.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Zsh users list Subject: Re: cygwin + /dev/stderr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 19, 6:13pm, Le Wang wrote: } } I use /dev/stderr in my scripts profusely. Now that I } started using cygwin, these scripts would generally } fail. } } What's the best way for me to handle this without } modifying all of my scripts? You can try: alias -g /dev/stderr=/dev/fd/2 } I understand that Bash has built in /dev/* } handling for cygwin, is there any plans for ZSh to } develop similar features? There is not, but zsh already has builtin handling of /dev/fd/N. Note that neither bash nor zsh can help if you are passing /dev/stderr or /dev/fd/N as a filename argument to a command, rather than using it as the target of a redirection. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net