Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

i have a folder called 'error' and in that, i have error log
files which are generated by the build,
now i want to findout the string 'error' from each log
file and that error has to be copied into the another file
called 'analysis'.
how do you do this in perl?

Answer Posted / jyothsna

grep error ~/error/errorlog.txt >> ~/main/analysis.txt

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I read command-line arguments with Perl?

967


Write syntax to add two arrays together in perl?

882


Explain about the applications of perl?

918


Difference between the variables in which chomp function work ?

1020


How do I debug a perl program?

945


What is it meants by '$_'?

865


How do I replace every TAB character in a file with a comma?

927


Comment on array slicing and range operator

909


How to replace perl array elements?

906


Explain the different types of data perl can handle.

860


List the prefix dereferencer in Perl.

886


What is eval function in perl?

913


Why should I use the -w argument with my Perl programs?

924


What is the difference between perl list and perl array?

824


Is perl compiler or interpreter?

895