Good morning
I am trying to update a configuration from from a script. I need to be able to insert 4 rows of data 2 rows below a specific word.
I.e my existing file is something like
# December
line1
line2
this will need to become
# December
line1
line2
new row 1
new row 2
new row 3
new row 4
This is not simply a case of appending the 4 new rows of data to the end of the file.
Any ideas?
Thanks
Alan
I am trying to update a configuration from from a script. I need to be able to insert 4 rows of data 2 rows below a specific word.
I.e my existing file is something like
# December
line1
line2
this will need to become
# December
line1
line2
new row 1
new row 2
new row 3
new row 4
This is not simply a case of appending the 4 new rows of data to the end of the file.
Any ideas?
Thanks
Alan