svn commit: r250699 - in head: share/mk usr.bin/make

Simon J. Gerraty sjg at juniper.net
Sat May 18 21:55:56 UTC 2013


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.


More information about the svn-src-all mailing list