BEGIN { *::find = \&find } sub find{ grep{ grep &{$_[0]}($_), ( open IN, $_ and <IN> ) } map{ opendir DIR, $_ and &{sub{ map $_[0].$_, @_[1..$#_] }}($_, readdir DIR) } @_[1..$#_] }
Edited by castaway - added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: file grep (alt)
by Bastiaan (Acolyte) on Apr 07, 2005 at 18:30 UTC | |
by songahji (Friar) on Apr 07, 2005 at 19:06 UTC | |
by songahji (Friar) on May 26, 2005 at 20:25 UTC |