HI
I had good luck with my last question, so I thought id try with another problem im having. and, yes, I do look for the answer in my perl book first - but I cant seem to find what im looking for in there.
so, the problem is:
I have a folder of files - different types (extensions). I need to find all the text files, look in each file for a certain string (same one each time - fixed) and make a very simple change to that string (add just one letter in the correct place - not at the end of the line - in the middle)if it contains the search string (some wont have it) and then save the changes.
I need to write a script for this as there is about 1K files to go through!
thanks for any help here!!
I had good luck with my last question, so I thought id try with another problem im having. and, yes, I do look for the answer in my perl book first - but I cant seem to find what im looking for in there.
so, the problem is:
I have a folder of files - different types (extensions). I need to find all the text files, look in each file for a certain string (same one each time - fixed) and make a very simple change to that string (add just one letter in the correct place - not at the end of the line - in the middle)if it contains the search string (some wont have it) and then save the changes.
I need to write a script for this as there is about 1K files to go through!
thanks for any help here!!