Re: recursive glob ...

2015-06-19 Thread Ryan Schmidt
On Jun 18, 2015, at 4:07 AM, Gustaf Neumann wrote: another common pattern is to use foreach file [exec find -L $path -type f -name $pattern] { ... } which is straight-forward to be tailored for a wide range of usage scenarios fs-traverse should be used instead of using the

Re: recursive glob ...

2015-06-18 Thread Gustaf Neumann
Am 17.06.15 um 20:35 schrieb petr: Hi all, how would I make a recursive glob in TCL? another common pattern is to use foreach file [exec find -L $path -type f -name $pattern] { ... } which is straight-forward to be tailored for a wide range of usage scenarios Best regards -gn

recursive glob ...

2015-06-17 Thread petr
Hi all, how would I make a recursive glob in TCL? I need to change the permissions of a faulty distfile, where permissions are set to restrictive? ~petr ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org

Re: recursive glob ...

2015-06-17 Thread Joshua Root
On 2015-6-18 05:29 , Lawrence Velázquez wrote: On Jun 17, 2015, at 2:35 PM, petr 9...@ingv.it wrote: how would I make a recursive glob in TCL? I need to change the permissions of a faulty distfile, where permissions are set to restrictive? You can't, really. You should use our fs

Re: recursive glob ...

2015-06-17 Thread Lawrence Velázquez
On Jun 17, 2015, at 2:35 PM, petr 9...@ingv.it wrote: how would I make a recursive glob in TCL? I need to change the permissions of a faulty distfile, where permissions are set to restrictive? You can't, really. You should use our fs-traverse proc. fs-traverse f ${worksrcpath