in reply to searching for number & string....
Hi jaggu_bg,
Welcome to the Monastery! Make yourself at home.. Post the questions in Seekers of Perl Wisdom.
You have to go through open, perlsyn, perlop and perlre to accomplish your job.
#open the file in read mode - refer open documentation #search the PID and string using regex -refer regex documentation #check the condition - refer Perl operator documentation #open the file in write mode to save in new file - refer open document +ation #write the result - refer Perl Syntax documentation
Prasad
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: can anyone help with to write this script???
by jaggu_bg (Initiate) on Nov 27, 2008 at 06:14 UTC | |
by parv (Parson) on Nov 27, 2008 at 06:38 UTC |