zsh-workers
 help / color / mirror / code / Atom feed
* zsh ignores the arguments on its first command.
@ 2010-06-01 21:23 Martin Buchholz
  2010-06-01 21:45 ` Peter Stephenson
  0 siblings, 1 reply; 12+ messages in thread
From: Martin Buchholz @ 2010-06-01 21:23 UTC (permalink / raw)
  To: Peter Stephenson, zsh-workers; +Cc: Joel Ebel

Hi zsh maintainers,

This is a bug report.

It seems that when the shell is invoked using
zsh -i -c 'COMMAND1; COMMAND2'
then COMMAND1 is executed without its arguments!

$ ssh LUCID /bin/zsh -i -c '/bin/echo 1 2 3; /bin/echo 4 5 6; echo
ZSH_VERSION=${ZSH_VERSION}'
/etc/zsh/zshrc:10: unknown parameter: terminfo

4 5 6
ZSH_VERSION=4.3.10

but it definitely is executed, as you can see here:

$ ssh LUCID /bin/zsh -i -c 'pwd; echo ZSH_VERSION=${ZSH_VERSION}'
/etc/zsh/zshrc:10: unknown parameter: terminfo
/home/martinrb
ZSH_VERSION=4.3.10

That's a pretty serious bug, but should be easy for y'all to fix.

Thanks,

Martin


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

end of thread, other threads:[~2010-06-03 15:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-01 21:23 zsh ignores the arguments on its first command Martin Buchholz
2010-06-01 21:45 ` Peter Stephenson
2010-06-01 22:27   ` Martin Buchholz
2010-06-02  7:05   ` Martin Buchholz
2010-06-02 11:19     ` Peter Stephenson
2010-06-02 16:44       ` Martin Buchholz
2010-06-03  9:01         ` Peter Stephenson
2010-06-03 13:22           ` Martin Buchholz
2010-06-03 13:32             ` Peter Stephenson
2010-06-03 13:47               ` Martin Buchholz
2010-06-03 14:15               ` Bart Schaefer
2010-06-03 14:20                 ` Peter Stephenson

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