I have a prstat log, as you all know the date and time is recorded on the top of the log file, I would like to add that date and time to the begging of each line until it gets to a new date, then I would do the same for that part of the log.
Is this possible?, is there a way to do this through commands or a script, I would've created a script to do so, but it's too late as the data has already been collected.
