From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27300 invoked by alias); 6 Dec 2002 19:57:19 -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 27293 invoked from network); 6 Dec 2002 19:57:19 -0000 Received: from unknown (HELO ns.aus.com) (66.127.241.71) by sources.redhat.com with SMTP; 6 Dec 2002 19:57:19 -0000 Received: from localhost (rsharpe@localhost) by ns.aus.com (8.11.6/8.11.6) with ESMTP id gB6KNLM01396; Fri, 6 Dec 2002 12:23:21 -0800 X-Authentication-Warning: ns.aus.com: rsharpe owned process doing -bs Date: Fri, 06 Dec 2002 11:57:00 -0000 From: Richard Sharpe X-X-Sender: To: Fernando Nasser cc: Daniel Jacobowitz , Subject: Re: Processing of convenience variables for scripts ... In-Reply-To: <3DF0D8F1.4020708@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-12/txt/msg00127.txt.bz2 On Fri, 6 Dec 2002, Fernando Nasser wrote: > 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. This sounds like a simple short-term solution while we wait on a more general method where all commands can take expressions of any type :-) Regards ----- Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com