Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi perlmonks, I need a script where if we pass the line to be searched as an argument,it should list all the files in the directory where this script is ran from.Can anyone please help? Input:-findline "no data received within timeout" output:- should print all the files(*.*) containing this line Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: findline in all the files in a given directory
by toolic (Bishop) on May 08, 2012 at 19:57 UTC | |
|
Re: findline in all the files in a given directory
by Athanasius (Archbishop) on May 09, 2012 at 02:35 UTC | |
|
Re: findline in all the files in a given directory
by Perlbotics (Archbishop) on May 08, 2012 at 19:57 UTC | |
|
Re: findline in all the files in a given directory
by Anonymous Monk on May 08, 2012 at 19:59 UTC |