I have a file that every line starts with the date and time. The format is like YYYYMMDDHHMM and I woulk like to change it to MM/DD/YY<space>HH:MM.
I tried to figure out a way to do it with sed, but I don't know how I could reorganize the digits of the first format. Does anyone have any idea?
If you want to be sure to match only digits at the beginning of the lines,
you should change the dots (.) with [0-9] (with GNU sed and Perl you could use \d too)