Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cygwin + /dev/stderr
- X-seq: zsh-users 5765
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh users list <zsh-users@xxxxxxxxxx>
- Subject: Re: cygwin + /dev/stderr
- Date: Mon, 20 Jan 2003 05:56:17 +0000
- In-reply-to: <20030119231354.35178.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20030119231354.35178.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author