zsh-users
 help / color / mirror / code / Atom feed
* bug with for and |&
@ 2000-12-18 13:22 Akim Demaille
  2000-12-18 18:19 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Akim Demaille @ 2000-12-18 13:22 UTC (permalink / raw)
  To: zsh-users


Well, I have something really weird happening with 

~/src/ace % echo $ZSH_VERSION                                    nostromo 14:16
3.1.9-dev-8

All what follows is in interactive mode.

/tmp % ls                                                        nostromo Err 1
"                cdefs.h          foo.tig          piechu_s-tiger/
adolph_v-tiger/  ChangeLog*       foo.y            poncon_g-tiger/
akim/            config.guess@    fricau_p-tiger/  quenin_b-tiger/
am.log           config.log       gastou_f-tiger/  README*
andre_t-tiger/   config.status*   gouban_p-tiger/  reprise.tig
a.out*           config.sub@      gsrvdir17023/    ribeir_p-tiger/
arith.output     configure*       guerin_p-tiger/  rodrig_j-tiger/
arith.tab.c      configure.in     guimar_k-tiger/  run.out
arith.tab.h      configure.out    jean_y-tiger/    sirven_o-tiger/
arith.y          da-sil_l-tiger/  lagard_s-tiger/  solett_p-tiger/
arvis_v-tiger/   dasson_m-tiger/  laguar_j-tiger/  solt_f-tiger/
autoconf-2.49c/  de-lai_f-tiger/  lamy_t-tiger/    src/
bana_j-tiger/    de-pai_h-tiger/  libtool/         ssh-akim/
baratt_b-tiger/  desmet_s-tiger/  libtool.log      t.appLDe
bar.c            dettor_l-tiger/  log2.zip         tests/
beal_m-tiger/    doroth_j-tiger/  logs.zip         texinfo-4.0/
benard_b-tiger/  fileaQwT2P       ltconfig@        texinfo-4.0.tar.gz
bernot_v-tiger/  filebGBedN       ltmain.sh@       texxnLtqJ
boero_o-tiger/   filee2XeQe       Makefile         thomas/
borona_d-tiger/  flatet_m-tiger/  make.out         tiger/
bourla_a-tiger/  foo/             masche_l-tiger/  tigerc-source/
brosso_s-tiger/  foo.c            menant_n-tiger/  tiger.texi-ouaou.patch.gz
buffin_c-tiger/  foof             michel_a-tiger/  trista_f-tiger/
build/           fooo/            mlt.log          vigot_v-tiger/
calc.wNi0xb      foo.output       morizo_m-tiger/  violle_f-tiger/
castri_t-tiger/  foo.patch        ndoye_d-tiger/   xmms_akim.0=
ccu2ChLH.s       foo.tab.c        ngo_r-tiger/     zivoti_b-tiger/
ccySQ0El.ii      foo.tab.h        orbit-akim/      zsh/

/tmp % for i in 1                                                nostromo 14:19
do
ls
done |& tee /tmp/foof
# gives immediately the result.

/tmp % for i in 1 2                                              nostromo 14:19
do                 
ls                   
done |& tee /tmp/foof
# I have to C-c C-c to stop it.

/tmp % for i in 1 2                                              nostromo Err 1
do
ls
done | tee /tmp/foof 
# s/|&/|/ makes it work properly.

If I use say echo instead of ls, it works.  If I use `ls --help', it
works.  I don't have too much time right now to look for sth more
precise, but someone might have already observed this.


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

* Re: bug with for and |&
  2000-12-18 13:22 bug with for and |& Akim Demaille
@ 2000-12-18 18:19 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2000-12-18 18:19 UTC (permalink / raw)
  To: Akim Demaille, zsh-users

On Dec 18,  2:22pm, Akim Demaille wrote:
}
} /tmp % for i in 1 2
} do                 
} ls                   
} done |& tee /tmp/foof
} # I have to C-c C-c to stop it.
} # s/|&/|/ makes it work properly.

For what it's worth, I'm *not* able to reproduce this here.

The difference may be that I have Sven's patch from zsh-workers/13247 applied.

-- 
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   


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

end of thread, other threads:[~2000-12-18 18:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-18 13:22 bug with for and |& Akim Demaille
2000-12-18 18:19 ` Bart Schaefer

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).