[PLUG] Correcting duplicate strings in files

Rich Shepard rshepard at appl-ecosys.com
Wed Jun 20 00:55:56 UTC 2018


On Tue, 19 Jun 2018, Carl Karsten wrote:

> It could be done with transistors if you spend enough time ;)

Carl,

   Microprocessors.

> I would add some code that verifies assumptions, like
> are the dates always the same
> is it just the 1700 are 1600?

   Those are hours on the 24-hour clock: 16:00 (4 pm) and 17:00 (5 pm).

> anyway, assuming all our descriptions and assumptions are correct,
> and the file starts at 2012-10-01,14:00

   Each day starts at 00:00 and runs through 23:00 hour-by-hour.

   The awk script Robert re-did does the job and I corrected all 20 years
where my script error provided two 16:00 hours.

Thanks,

Rich




More information about the PLUG mailing list