I'm using linux buildroot os disto 2020.02. and I have a conf file formated like so:
[section1]
key1 = val1
ke2 = val2
[section2]
key1 = val1
ke2 = val2
I would like to add the line "key3 = val3" to section1, it's important to add it after all the existing lines in the section, how can I do it?
I am also need to delete this line after.