Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2013 14:38:28 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Tijl Coosemans <tijl@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r250699 - in head: share/mk usr.bin/make
Message-ID:  <20130518213828.BAF8258097@chaos.jnpr.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130518213828.BAF8258097>