Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 28881 invoked from network); 29 Nov 2007 02:45:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2007 02:45:08 -0000 Received: (qmail 18159 invoked by uid 500); 29 Nov 2007 02:44:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 18099 invoked by uid 500); 29 Nov 2007 02:44:54 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 18088 invoked by uid 99); 29 Nov 2007 02:44:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 18:44:54 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 02:45:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8C7F871422C for ; Wed, 28 Nov 2007 18:44:43 -0800 (PST) Message-ID: <4668018.1196304283573.JavaMail.jira@brutus> Date: Wed, 28 Nov 2007 18:44:43 -0800 (PST) From: "Jason Warner (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GSHELL-20) `set foo="bar"` does not work as expected In-Reply-To: <30763177.1151279071040.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GSHELL-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546543 ] Jason Warner commented on GSHELL-20: ------------------------------------ That is actually somewhat expected behavior. I didn't realize that single quotes should be parsed the same as double quotes. Should double and single quotes be working in the same manner? I was working on the jira in a literal sense. Was there more outside of what was described that was in the scope of the jira? > `set foo="bar"` does not work as expected > ----------------------------------------- > > Key: GSHELL-20 > URL: https://issues.apache.org/jira/browse/GSHELL-20 > Project: GShell > Issue Type: Bug > Security Level: public(Regular issues) > Components: Commands, Core > Affects Versions: 0.0.1 > Reporter: Jason Dillon > Assignee: Jason Warner > Priority: Critical > Fix For: 1.0-alpha-2 > > Attachments: GShell-20.patch > > > Due to the way parsing happens, this line: > {noformat} > set foo="bar" > {noformat} > Ends up calling the command with 2 arguments: "foo=" and "bar", which is not what the command expects, which is one argument of: "foo=bar" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.