Have a file with multiple fields with time in the format:
that I want in the format
No matter what I use with sed I'm not getting the desired change.
Neither of the above gives desired output. What am I missing?
Code:
15:02
that I want in the format
Code:
15.02
No matter what I use with sed I'm not getting the desired change.
Code:
sed 's/\(\d{2}):\(\d{2})/\(\d{2})\.\(\d{2})/g' file > file1
sed 's/[0-9]:[0-9]/[0-9]\.[0-9]/g' file > file1