How do I program in shell script for write a word if it finds another word
I have a file named medpre.msg.log
Script should search for a word 'degenerated'
If it finds the word 'degenerated' , then it should write 'ECHT' on already existing file Mcheck.prot
How should I write the program, please help me . I am new to shell scripting
Thank you in advance......
Cross-posting is against the LQ rules. Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place.
Continue in the other/original thread: How do I program in shell script.....
Reported for closure.
|All times are GMT -5. The time now is 09:19 AM.|