in reply to Re: searching several files for a string at one time
in thread searching several files for a string at one time
glob and grep complement each other. glob is for finding filesystem entries (think "names"), and grep is for searching lists (like lines in a file). If you don't use the grep command line utility, then your Perl program will need to combine both. Use bsd_glob to find the files that are of interest, and then use grep to find the lines in those files.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: searching several files for a string at one time
by daggy (Novice) on May 06, 2010 at 11:33 UTC | |
by Corion (Patriarch) on May 06, 2010 at 11:38 UTC |