Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#112424: zsh: zsh can't read from /proc
- X-seq: zsh-workers 15835
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Clint Adams <schizo@xxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#112424: zsh: zsh can't read from /proc
- Date: Mon, 17 Sep 2001 16:39:33 +0000
- Cc: Wessel Dankers <wsl-deb@xxxxxxxxxxxx>, 112424-forwarded@xxxxxxxxxxxxxxx
- In-reply-to: <20010917113450.A15463@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010916091351.593.qmail@xxxxxxxxxxxxx> <20010917113450.A15463@xxxxxxxx>
On Sep 17, 11:34am, Clint Adams wrote:
} Subject: Re: Bug#112424: zsh: zsh can't read from /proc
}
} Do we want to special-case this?
}
} > zsh seems to have trouble reading from /proc special files.
} >
} > The problem is that zsh reads files one byte at a time.
Hrm. There's always
read -u0 -k 128 HOST </proc/sys/kernel/hostname
but that has the drawback of returning a nonzero $?.
In any case, it appears that bash and bash2 have the same behavior when
reading from that file, so I'd say this is not our bug to fix.
--
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