From owner-freebsd-doc@FreeBSD.ORG Mon Oct 28 18:12:09 2013 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 325D9A74 for ; Mon, 28 Oct 2013 18:12:09 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from co1outboundpool.messaging.microsoft.com (co1ehsobe006.messaging.microsoft.com [216.32.180.189]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E9BF82255 for ; Mon, 28 Oct 2013 18:12:08 +0000 (UTC) Received: from mail53-co1-R.bigfish.com (10.243.78.230) by CO1EHSOBE014.bigfish.com (10.243.66.77) with Microsoft SMTP Server id 14.1.225.22; Mon, 28 Oct 2013 17:41:43 +0000 Received: from mail53-co1 (localhost [127.0.0.1]) by mail53-co1-R.bigfish.com (Postfix) with ESMTP id C6FCD10020D; Mon, 28 Oct 2013 17:41:43 +0000 (UTC) X-Forefront-Antispam-Report: CIP:66.129.224.50; KIP:(null); UIP:(null); IPV:NLI; H:P-EMF01-SAC.jnpr.net; RD:none; EFVD:NLI X-SpamScore: 2 X-BigFish: VPS2(zz1432Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6h1082kzzz2fh2a8h839hd25hf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h14ddh1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh1b88h1fb3h1d0ch1d2eh1d3fh1de2h1dfeh1dffh1e23h1fe8h1ff5h1155h) Received-SPF: pass (mail53-co1: domain of juniper.net designates 66.129.224.50 as permitted sender) client-ip=66.129.224.50; envelope-from=sjg@juniper.net; helo=P-EMF01-SAC.jnpr.net ; SAC.jnpr.net ; Received: from mail53-co1 (localhost.localdomain [127.0.0.1]) by mail53-co1 (MessageSwitch) id 1382982101740019_24367; Mon, 28 Oct 2013 17:41:41 +0000 (UTC) Received: from CO1EHSMHS004.bigfish.com (unknown [10.243.78.231]) by mail53-co1.bigfish.com (Postfix) with ESMTP id B126A34004A; Mon, 28 Oct 2013 17:41:41 +0000 (UTC) Received: from P-EMF01-SAC.jnpr.net (66.129.224.50) by CO1EHSMHS004.bigfish.com (10.243.66.14) with Microsoft SMTP Server (TLS) id 14.16.227.3; Mon, 28 Oct 2013 17:41:41 +0000 Received: from magenta.juniper.net (172.17.27.123) by P-EMF01-SAC.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 28 Oct 2013 10:41:40 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id r9SHfcL09942; Mon, 28 Oct 2013 10:41:39 -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 4D5875807E; Mon, 28 Oct 2013 10:41:38 -0700 (PDT) To: Johan Kuuse Subject: Re: FreeBSD Make question In-Reply-To: References: <20131024214923.CB0AF5807E@chaos.jnpr.net> <20131025174720.870B35807E@chaos.jnpr.net> <20131025231000.C74665807E@chaos.jnpr.net> Comments: In-reply-to: Johan Kuuse message dated "Mon, 28 Oct 2013 18:06:31 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Mon, 28 Oct 2013 10:41:38 -0700 Message-ID: <20131028174138.4D5875807E@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-OriginatorOrg: juniper.net X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Cc: freebsd-doc@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 18:12:09 -0000 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.