Input:
F1 F2 F3 F4 F5 F6
4 ABCDEF1234 1111111111 20090101 00:00:00 XYZ 123
Output:
4 ABCDEF1234 1111111111 20090101-00:00:00 XYZ 123
F represents fields. F4 and F5 are date fields which needs to be concatenated with a hyphen. Is there a quick Perl script that does this?