From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12340 invoked by alias); 6 Dec 2002 00:52:29 -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 12332 invoked from network); 6 Dec 2002 00:52:28 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 6 Dec 2002 00:52:28 -0000 Received: from redhat.com (totem.toronto.redhat.com [172.16.14.242]) by touchme.toronto.redhat.com (Postfix) with ESMTP id F039980008E; Thu, 5 Dec 2002 19:52:27 -0500 (EST) Message-ID: <3DEFF4CB.6060601@redhat.com> Date: Thu, 05 Dec 2002 16:52:00 -0000 From: Fernando Nasser Organization: Red Hat , Inc. - Toronto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Richard Sharpe , Andrew Cagney , gdb@sources.redhat.com Subject: Re: Processing of convenience variables for scripts ... References: <20021120163549.GA14036@nevyn.them.org> <20021120183613.GA24089@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00101.txt.bz2 Daniel Jacobowitz wrote: > In that case, in the short term, it would be worthwhile to implement > eval. A simple version would just find any individual word that > started with a $ and substitute variables, and end up with something > like "eval add-symbol-file $name $addr". > Seems useful to me, and probably not difficult to implement. -- Fernando Nasser Red Hat - Toronto E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9