zsh-workers
 help / color / mirror / code / Atom feed
* I/O redirection problem in "zsh"
@ 2002-10-25 10:40 Matthias Scheler
  2002-10-25 11:13 ` Oliver Kiddle
  2002-10-25 11:16 ` Borzenkov Andrey
  0 siblings, 2 replies; 6+ messages in thread
From: Matthias Scheler @ 2002-10-25 10:40 UTC (permalink / raw)
  To: zsh-workers


	Hello,

the I/O redirection in the following command doesn't work properly in "zsh":

grep localhost /etc/hosts fasel 2>&1 >/dev/null | cat -b

tron@colwyn:~>grep localhost /etc/hosts fasel 2>&1 >/dev/null | cat -b
     1  grep: fasel: No such file or directory
     2  /etc/hosts:::1                                  localhost
     3  /etc/hosts:127.0.0.1                            localhost
tron@colwyn:~>sh
$ grep localhost /etc/hosts fasel 2>&1 >/dev/null | cat -b
     1  grep: fasel: No such file or directory
$ bash
bash-2.05$ grep localhost /etc/hosts fasel 2>&1 >/dev/null | cat -b
     1  grep: fasel: No such file or directory
bash-2.05$ ksh
$ grep localhost /etc/hosts fasel 2>&1 >/dev/null | cat -b
     1  grep: fasel: No such file or directory

I can reproduce this problem with ZSH 3.0.8 under Solaris and ZSH 4.0.6
under NetBSD.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-11-06 10:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-25 10:40 I/O redirection problem in "zsh" Matthias Scheler
2002-10-25 11:13 ` Oliver Kiddle
2002-10-25 11:16 ` Borzenkov Andrey
2002-10-25 11:44   ` Matthias Scheler
2002-10-25 12:15     ` Oliver Kiddle
2002-11-06 10:10     ` Zefram

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).