From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28161 invoked by alias); 6 Dec 2002 16:54:43 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28033 invoked from network); 6 Dec 2002 16:54:42 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 6 Dec 2002 16:54:42 -0000 Received: from redhat.com (tooth.toronto.redhat.com [172.16.14.29]) by touchme.toronto.redhat.com (Postfix) with ESMTP id D4B5480008E; Fri, 6 Dec 2002 11:54:40 -0500 (EST) Message-ID: <3DF0D8F1.4020708@redhat.com> Date: Fri, 06 Dec 2002 08:54:00 -0000 From: Fernando Nasser Organization: Red Hat Canada User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020607 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Richard Sharpe , gdb@sources.redhat.com Subject: Re: Processing of convenience variables for scripts ... References: <20021206164214.GA27660@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00119.txt.bz2 Daniel Jacobowitz wrote: > > That said, I'm not worried about implementing this as much as I am > designing what it "ought" to look like. > For me just: eval command args... ${something} more args... where the value of ${something} is blah causes the following command to be executed command args... blahh more args... eval just expands the variable to create the real command to be excuted and calls execute_command() with it. -- Fernando Nasser Red Hat Canada Ltd. E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9