From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12900 invoked by alias); 1 Jun 2010 21:34:43 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27985 Received: (qmail 13787 invoked from network); 1 Jun 2010 21:34:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 74.125.121.35 as permitted sender) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1275427439; bh=BV7lusy2Lcj/n/ISe2uET2GNzDU=; h=MIME-Version:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=N9w8AjP+cOrDLgPJy8aodZoIm+S+cLm0B8rSfjnXMO+hCb24U3zrnLCOpGjCH+VUR jybigCcbX65E0wOyY7XEg== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:date:message-id:subject:from:to:cc: content-type:x-system-of-record; b=mQ2LLztZu/ldGfWG/J46Z7yST8ajbJw6ROM2ji5nlQAntY5vsUBG4/IX3i1LlGt9Z /UM5gl/pNRP1PTi9PHf+w== MIME-Version: 1.0 Date: Tue, 1 Jun 2010 14:23:50 -0700 Message-ID: Subject: zsh ignores the arguments on its first command. From: Martin Buchholz To: Peter Stephenson , zsh-workers@zsh.org Cc: Joel Ebel Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true 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