dayinthelife
IS-IT--Management
Hello,
I have three lines I need to add to hundreds of files. The files are all in the same format and contain the same information. I want to add the same information to the files.
The new lines of information are similar. Here is an example of the three lines:
line1:
line2 = text1
line3 = text2
They all should be on line 34, 35 and 36. Line 2 and 3 are right justified by 3 spaces.
The files all start with the same name separated by a period followed by some random number.
name1.number1
If someone can help me create a script, I would be very much appreciative.
Thank you,
dayinthelife
I have three lines I need to add to hundreds of files. The files are all in the same format and contain the same information. I want to add the same information to the files.
The new lines of information are similar. Here is an example of the three lines:
line1:
line2 = text1
line3 = text2
They all should be on line 34, 35 and 36. Line 2 and 3 are right justified by 3 spaces.
The files all start with the same name separated by a period followed by some random number.
name1.number1
If someone can help me create a script, I would be very much appreciative.
Thank you,
dayinthelife