From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16595 invoked by alias); 28 Dec 2002 04:03:57 -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 16580 invoked from network); 28 Dec 2002 04:03:56 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (66.187.233.200) by 209.249.29.67 with SMTP; 28 Dec 2002 04:03:56 -0000 Received: from free.redhat.lsd.ic.unicamp.br (aoliva2.cipe.redhat.com [10.0.1.156]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id gBS43fY31993; Fri, 27 Dec 2002 23:03:41 -0500 Received: from free.redhat.lsd.ic.unicamp.br (localhost.localdomain [127.0.0.1]) by free.redhat.lsd.ic.unicamp.br (8.12.6/8.12.6) with ESMTP id gBS43eMK009197; Sat, 28 Dec 2002 02:03:40 -0200 Received: (from aoliva@localhost) by free.redhat.lsd.ic.unicamp.br (8.12.6/8.12.6/Submit) id gBS43doD009193; Sat, 28 Dec 2002 02:03:39 -0200 To: DJ Delorie Cc: neroden@twcny.rr.com, gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com, binutils@sources.redhat.com Subject: Re: (toplevel patch) Clean up sed References: <20021228003319.GA2421@doctormoo> <200212280036.gBS0apJ28639@envy.delorie.com> From: Alexandre Oliva Organization: GCC Team, Red Hat Date: Fri, 27 Dec 2002 22:50:00 -0000 In-Reply-To: <200212280036.gBS0apJ28639@envy.delorie.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-12/txt/msg00699.txt.bz2 On Dec 27, 2002, DJ Delorie wrote: >> +CC_FOR_TARGET="\$(STAGE_CC_WRAPPER) "${CC_FOR_TARGET} > Shouldn't the quotes surround the whole expression? What if > CC_FOR_TARGET has spaces in it? It doesn't matter. It would be enough to quote just the space and the parentheses. Variable expansion occurs after word-splitting, so the assigned value is not altered by word separators that are not present in the original command. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist Professional serial bug killer