Of course, this may not meet your requirements - notably, this returns a count of the lines matched per file rather than pattern matches per file. YMMVgrep --count thepattern whateverfile
In reply to Re: Opening file and checking for data
by msemtd
in thread Opening file and checking for data
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |