I am a very new Perl user. I am trying to write some code to read a list of files with lines formatted like the following: dumptrend /emsdat/trend/ANALOG:AGCGHOST.SYSLOAD-RT_10_3 /emsdat/trend/cps1/lod.ems
I would like the program to get today's date formatted like yymmdd and append this date to the 10_3 and to the ems such that the command looks like the following:
where the x's denote spaces. I would like to search through each of the .ems files each minute for the entries associated with that minute and send the output to a file in the same format. I would greatly appreciate any assistance I could receive. I'm under the gun to accomplish this and am trying to learn Perl. I am running Unix 3.2D on a DEC Unix.