Dear Unix users,
I have a (I think simple) question;
I have a file (out.dat) like below,
the file contains some line which include 'LOS' string.
.
LOS 46.5360 91.0220 200708.2515.4900. 5400 64 1100010
.
.
I would like to delete the points in 4th column.
When I used the below sed command:
sed -e '/LOS/s/\.//g' out.dat
it gives
.
LOS 465360 910220 20070825154900 5400 64 1100010
.
it deletes all the points in the line.
How can I specify that I only want to delete the points at 4th column (i.e 200708.2515.4900.)
Thank you very much,
Murat