in reply to Re: multiple dir. grep
in thread multiple dir. grep
That's a little quick and dirty, since I don't closedir at all,
Use a lexical dirhandle and perl will close it for you.
perl -le"print for sort grep!/^\.\.?/, map{ opendir my($DIR), $_; rea +ddir $DIR } map glob, @ARGV" ./*
|
|---|