Boost logo

Boost-Build :

From: Jurko Gospodnetiæ (jurko.gospodnetic_at_[hidden])
Date: 2008-08-21 14:42:08


   Hi all.

   Could someone who has the doc build toolset set up test the following
Boost Jam documentation patch? It adds the missing documentation for the
so far undocumented :T variable expansion modifier.

   Thanks.

   Best regards,
     Jurko Gospodnetiæ

Index: bjam.qbk
===================================================================
--- bjam.qbk (revision 48283)
+++ bjam.qbk (working copy)
@@ -1255,6 +1255,16 @@
 [[[^:L]]
  [Replace uppercase characters with lowercase.]]
 
+ :T -- convert "\" to "/"
+
+[[[^:T]]
+ [Converts all back-slashes ("\\") to forward slashes ("/"). For example
+``
+ x = "C:\\Program Files\\Borland" ; ECHO $(x:T) ;
+``
+prints [^"C:/Program Files/Borland"]
+]]
+
 [[[^:W]]
  [When invoking Windows-based tools from [@http://www.cygwin.com/ Cygwin]
   it can be important to pass them true windows-style paths. The =:W=


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk