Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird problem with trn's Configure script
- X-seq: zsh-workers 1918
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: wayne@xxxxxxxxx (Wayne Davison)
- Subject: Re: Weird problem with trn's Configure script
- Date: Mon, 5 Aug 1996 00:39:32 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199608042128.OAA27658@xxxxxxxxxxxxxxx> from Wayne Davison at "Aug 4, 96 02:28:55 pm"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> 	#!/local/bin/zsh
> 	(exit) || echo This should not be seen
> 	echo we are here
> 
> With pre6 you'll see the "we are here" statement twice!  In pre3 it
> did something a little weirder:
> 
> 	./testscript: command not found: ould [4]
> 	we are here
> 
> I haven't had a chance to check the code, but it looks like the closing
> paren isn't being parsed correctly in this instance.  This only seems
> to happen if the last command in ()'s is an exit.
I cannot reproduce this with any version of zsh.  Are you sure that it is a
zsh bug?  I cannot imagine what can cause such a problem.  Isn't it a
compiler bug?  What system/compiler do you use?  Isn't there something
unusual in your /etc/zshenv?
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author