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
Explain socket programming in perl?
How to dereference a reference?
Explain subroutine in perl?
Who created perl?
How can you call a subroutine and identify a subroutine?
What are the benefits of perl in using it as a web-based application?
What are some common methods to all handles in perl?
How to read multi lines from a file in perl?
How to disable the mod_perl from apache_server as i have used perlfect search on the site and its pagination is not working and the remedy is to disable the mod_perl.
Enlist the advantages of using c over perl?
What is epoch time in perl?
How do I sort a hash by the hash value?
How do you give functions private variables that retain their values between calls?
Explain USE and REQUIREMENT statements?
What is hash?