Thats cool and works well. You can try this for a 5 sec improvement at least on my system:
grep { -x "$path/$_" && !-d _ }
Saves a lot of stat() calls.
Thanks for the answer. I think I knew the answer deep in the recesses of my brain but couldn't see it.
Edgar
In reply to Re^2: file test results not as expected
by navalned
in thread file test results not as expected
by navalned
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |