I need to delete or replace the third ":" (colon) with a space. I can't do it at a certain index because the entries differ in length.
u:Testuser:rw:/home/user1/temp
g:Testgroup:-:/home/user2/temp
Result should look like this:
u:Testuser:rw /home/user1/temp
g:Testgroup:- /home/user2/temp
Is there a way to 1) delete a specific character and 2) to insert a character before/after a specific character? I couldn´t find a solution, I am a beginner unfortunately.