Hello,
Consider that i have many files that have the below format:
file1
900 7777
1000 5 6 23 nnnnnnnnnnnnnnnnnn
1100 kkkkkkk
file2
900 1989
1000 5 3 10 kkkdfdfdffd
1100 kkkkkkk
What i would like to do is on every file to search the line that starts with '1000' and remove everything that exist after the 3rd token e.g for file1 remove everything that exists after '23', and for file2 remove everything that exist after '10'
I know how to search for the line that starts with '1000' but i do not know how to remove the string that exist after the third token.
Best Regards,
Christos