I need to remove the first three occurrences of space per line in a text file.
I have tried the following:
sed 's/ //3'
This only removes the third occurrence.
sed 's/ //3g'
This leaves the first three occurrences of space alone and removes all of the following, this is the exactly the opposite of what i want.