Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: cygwin + /dev/stderr
- X-seq: zsh-users 5766
- From: Borzenkov Andrey <Andrey.Borzenkov@xxxxxxxxxxx>
- To: "'Le Wang'" <lewang@xxxxxxxxx>, "'Zsh users list'" <zsh-users@xxxxxxxxxx>
- Subject: RE: cygwin + /dev/stderr
- Date: Mon, 20 Jan 2003 14:36:13 +0300
- Importance: Normal
- In-reply-to: <20030119231354.35178.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
> Hi all,
>
> I use /dev/stderr in my scripts profusely. Now that I
> started using cygwin, these scripts would generally
> fail. I understand that Bash has built in /dev/*
> handling for cygwin, is there any plans for ZSh to
> develop similar features?
>
/dev/stderr is not and never has been portable. Any script that relies on
that is flawed as you just discovered.
> What's the best way for me to handle this without
> modifying all of my scripts?
>
The best way would still be to modify your scripts to avoid this problem in
future :) Who knows, may be you will use another Unix someday.
What version of Cygwin are you using? I have vague memory that Cygwin
emulates /dev/std* as well but may be wrong here.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author