From owner-svn-src-head@FreeBSD.ORG Sat May 18 21:55:56 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 538B16A5; Sat, 18 May 2013 21:55:56 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og112.obsmtp.com (exprod7og112.obsmtp.com [64.18.2.177]) by mx1.freebsd.org (Postfix) with ESMTP id 07F86646; Sat, 18 May 2013 21:55:55 +0000 (UTC) Received: from P-EMHUB01-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob112.postini.com ([64.18.6.12]) with SMTP ID DSNKUZf45RuIc1pCQuheQAPqvlhxRrh14NZp@postini.com; Sat, 18 May 2013 14:55:56 PDT Received: from merlot.juniper.net (172.17.27.10) by P-EMHUB01-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Sat, 18 May 2013 14:38:29 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id r4ILdVa21005; Sat, 18 May 2013 14:39:31 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id BAF8258097; Sat, 18 May 2013 14:38:28 -0700 (PDT) To: Tijl Coosemans Subject: Re: svn commit: r250699 - in head: share/mk usr.bin/make In-Reply-To: <5196A250.8030305@FreeBSD.org> References: <201305161528.r4GFSc5t094460@svn.freebsd.org> <5196745E.7040905@FreeBSD.org> <20130517193906.1675358097@chaos.jnpr.net> <5196A250.8030305@FreeBSD.org> Comments: In-reply-to: Tijl Coosemans message dated "Fri, 17 May 2013 23:34:08 +0200." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Sat, 18 May 2013 14:38:28 -0700 Message-ID: <20130518213828.BAF8258097@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 21:55:56 -0000 On Fri, 17 May 2013 23:34:08 +0200, Tijl Coosemans writes: >_PORTCONF!=3D/usr/local/libexec/portconf >=2Efor i in ${_PORTCONF:S/|/ /g} >${i:S/%/ /g} Is it possible to re-write this to be less dependent on how .for is parsed? Eg. assuming i is foo=[%]blah%goo ${i:C,=.*,,g} = ${i:C,.*=%*,,:S,%, ,g} works the same for fmake and bmake.