reinplace loop

Jeremy Lavergne jeremy at lavergne.gotdns.org
Sun Jul 13 13:28:34 PDT 2014


I’d use fs-traverse, filtering to just the specific files you’re after.

On Jul 13, 2014, at 16:18, Mark Brethen <mark.brethen at gmail.com> wrote:

> In need to reinplace the CMakeLists file in each subdirectory, replacing 'Mod/(subdirectory)' with 'lib/${name}/Mod/(subdirectory). How do you write a tcl loop to accomplish this? (Avoids creating a multitude of patch files.)



More information about the macports-dev mailing list