The stupid question is the question not asked | |
PerlMonks |
Re: Re: Find file that contains "....." (command in Unix)by parv (Parson) |
on Mar 28, 2003 at 10:46 UTC ( [id://246445]=note: print w/replies, xml ) | Need Help?? |
Well, here is yet another solution assuming gnu grep...
...first part of the pipeline recursively, -r, (downword only) searches text files, -I, for ..... in the current directory, ., listing only the file names found. Second part filters the file names which lists only those ending in '.txt'. Here is one more and bit more robust (to be run in "test" directory; see OP)...
In Section
Seekers of Perl Wisdom
|
|