Not a bad bash script. I don't do bash, but enough sh to see it would work.
About the time I wrote this post I found this in another working dir:
[512] Sat 18.Mar.2006 20:24:28
[kadmin@archangel][/www/data/biz/functions-dir]
cat lint.php
<?php
$dir=`ls -1`;
$newls=explode("\n",$dir);
foreach ($newls as $nn) {
system("php -l ./$nn");
}
?>
So, there's my "dirty hack" to contribute (and in PHP, no less ... heh, like that's a big deal---now, modula3, that might ... nevermind.) 😉 And, no reason I couldn't put it in my $PATH and make some adjustments...
Anyway, thanks for the reply. I was just wondering if anyone else ever thought, "why doesn't the PHP CLI do this" in the vein I was attempting to use it this morning...I imagine it's just that there's no time to code the small stuff...