I have a set of text files, some of 10k lines long, some lines contain dates of format;
'Fri Feb 3 16:49:18 2012'
How can i replace this date with a epoch? Im struggling to recognize it among the rest of the test via regex or any other way.
eg of some lines....
Name:branding-SLES Relocations: (not relocatable) Version:11 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany Release:3.20.30 Build Date: Fri Feb 3 16:49:18 2012 Install Date: Wed Sep 24 16:22:53 2014 Build Host: gubaidulina Group:System/Fhs Source RPM: branding-SLES-11-3.20.30.src.rpm