Greetings all,
I have a few lines that need to be added to a file, not at the end of the file but in the middle of a file after a particular line, for ex
$>echo myFile.ini
1234
3434
5434
9434
the 4 lines to be inserted into myFile.ini are
abcd
dfef
erer
qqer
now after adding the above 4 lines if I do a
$>cat myFile.ini
1234
3434
abcd
dfef
erer
qqer
5434
9434
after a particular line, say "common properties" - Is this possible, if yes, can some one please give me the directions to go about it.
Thanks for your time
-0
I have a few lines that need to be added to a file, not at the end of the file but in the middle of a file after a particular line, for ex
$>echo myFile.ini
1234
3434
5434
9434
the 4 lines to be inserted into myFile.ini are
abcd
dfef
erer
qqer
now after adding the above 4 lines if I do a
$>cat myFile.ini
1234
3434
abcd
dfef
erer
qqer
5434
9434
after a particular line, say "common properties" - Is this possible, if yes, can some one please give me the directions to go about it.
Thanks for your time
-0