in reply to Re: Re: File searching
in thread File searching
sub rout { local *FILE; if( $_ =~ /\.html?$/) { open ( FILE, $name ); while($hit = <FILE>) { if( $hit =~ /%(?:ff|jj|bb)/ ) { print "Hit = $1\n"; } } close FILE; } } find( \&rout, "/disk1/disk2" );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: File searching
by diotalevi (Canon) on Jun 20, 2003 at 19:20 UTC | |
by Anonymous Monk on Jun 20, 2003 at 19:53 UTC |