Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 34462 invoked from network); 29 Nov 2007 03:03:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2007 03:03:08 -0000 Received: (qmail 32468 invoked by uid 500); 29 Nov 2007 03:02:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 32398 invoked by uid 500); 29 Nov 2007 03:02: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 32386 invoked by uid 99); 29 Nov 2007 03:02:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 19:02: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 03:02:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 47CDC71420E for ; Wed, 28 Nov 2007 19:02:43 -0800 (PST) Message-ID: <13896111.1196305363291.JavaMail.jira@brutus> Date: Wed, 28 Nov 2007 19:02:43 -0800 (PST) From: "Jason Dillon (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_12546547 ] Jason Dillon commented on GSHELL-20: ------------------------------------ Yes and no ;-) The expansion of "" strings happens internally with a wee bandaid using jexl in the executing visitor. So by the time it gets to the command "" and '' are basically the same. And really there should be no quotes on anything anymore at this point. Basically, it should work like BASH does eventually... one day... ;-) Anyways, this is not a big deal, there are larger fish to fry.... feel like cooking? > `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.