On Mon, 28 Oct 2013 18:06:31 +0100, Johan Kuuse writes: >> --------------------8<-------------------- >> TLIST = "/tmp/dir with space/one" "/tmp/another spacey thing/two" >> >> tlist= >> .for t in ${TLIST} >> tlist+= ${t:tW:S, ,?,g:S,",,g} >> # the above :tW causes the value to be treated as one-word > >The ':tW' variable modifier seems to be pmake/fmake syntax.
it is bmake (NetBSD make) specific - tells make to treat the variable value as one word - avoids the need to do things like: frobbed != echo ${var} | sed 's, ,+,g' :tw undoes the effect >Is there any similar, non-documented, "treat-as-one-word"-modifier >avilable for FreeBSD Make? fmake - no. _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"