This is how i write something on text file:
Code:
{system("echo \"Hello\" > /home/$USER/.config/Wallch/Checks/language_selection");
But how to write something on a certain line without changing the others?
For example how can i write "Hello" on the third line of my text file without changing the first line... ?