From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24719 invoked by alias); 8 Oct 2003 19:31:13 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24712 invoked from network); 8 Oct 2003 19:31:12 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 8 Oct 2003 19:31:12 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 1A7K1g-0003oX-8z; Wed, 08 Oct 2003 15:31:12 -0400 Date: Wed, 08 Oct 2003 19:31:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: Use program_transform_name correctly Message-ID: <20031008193112.GA14518@nevyn.them.org> Mail-Followup-To: Jim Blandy , gdb-patches@sources.redhat.com References: <20031007225305.GA13082@nevyn.them.org> <20031007235921.8FB0B158F81@kanga.canids.net> <20031008010510.GA15693@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-10/txt/msg00246.txt.bz2 On Wed, Oct 08, 2003 at 02:17:26PM -0500, Jim Blandy wrote: > > Daniel Jacobowitz writes: > > Conveniently this is no longer an issue in the src repository (or in > > gcc). The toplevel configure script now guarantees that > > $(program_transform_name) will not be empty. So $$t it is. > > But doesn't that mean I can just say: > > sed '$(program_transform_name)' > > since Make substitution doesn't respect single quotes in shell > commands? I'm not sure. This is all complicated by the way that things get escaped if $(program_transform_name) contains a ' or a \. And sed scripts often do contain backslashes: --program-transform-name='s,(gdb),\1-6.0,' (or maybe that needs more backslashes, I always forget) -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer