BEGIN { *::find = \&find } sub find{ grep{ grep &{$_[0]}($_), ( open IN, $_ and <IN> ) } map{ opendir DIR, $_ and &{sub{ map $_[0].$_, @_[1..$#_] }}($_, readdir DIR) } @_[1..$#_] }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: grep text (alternative)
by merlyn (Sage) on Mar 28, 2005 at 20:53 UTC | |
by Tanktalus (Canon) on Mar 28, 2005 at 21:33 UTC | |
by songahji (Friar) on Mar 28, 2005 at 21:17 UTC | |
by strictvars (Sexton) on Apr 08, 2005 at 13:20 UTC | |
by songahji (Friar) on Apr 11, 2005 at 15:50 UTC |