I Need a Delete Duplicate Line Function that will Ignore the first 18 Characters of each line
I have found many and excellent examples in deleting the whole line but can't figure how to filter the 1st 18 characters.
Example below is from a Log.inf file showing that the first 3 lines repeat but with different time stamps
Can anyone please help.
(Color just for Emphasizes)
6-09-10 0:01:37>Fault= PLC fault with Option to processed operator post tires [1308]
6-09-10 0:01:37> Bar Code Post - PLC fault
6-09-10 0:01:37> Group PLC faulted in step [9004]
6-09-10 0:16:19> Fault= PLC fault with Option to processed operator post tires [1308]
6-09-10 0:16:19> Bar Code Post - PLC fault
6-09-10 0:16:19> Group PLC faulted in step [9004]
6-09-10 0:16:21> Fault= PLC fault with Option to processed operator post tires [1308]
6-09-10 0:16:21> Bar Code Post - PLC fault
6-09-10 0:16:21> Group PLC faulted in step [9004]
6-09-10 0:46:52> Fault= PLC fault with Option to processed operator post tires [1308]
6-09-10 0:46:52> Bar Code Post - PLC fault
6-09-10 0:46:52> Group PLC faulted in step [9004]
Just need:
6-09-10 0:01:37>Fault= PLC fault with Option to processed operator post tires [1308]
6-09-10 0:01:37> Bar Code Post - PLC fault
6-09-10 0:01:37> Group PLC faulted in step [9004]
I have found many and excellent examples in deleting the whole line but can't figure how to filter the 1st 18 characters.
Example below is from a Log.inf file showing that the first 3 lines repeat but with different time stamps
Can anyone please help.
(Color just for Emphasizes)
6-09-10 0:01:37>Fault= PLC fault with Option to processed operator post tires [1308]
6-09-10 0:01:37> Bar Code Post - PLC fault
6-09-10 0:01:37> Group PLC faulted in step [9004]
6-09-10 0:16:19> Fault= PLC fault with Option to processed operator post tires [1308]
6-09-10 0:16:19> Bar Code Post - PLC fault
6-09-10 0:16:19> Group PLC faulted in step [9004]
6-09-10 0:16:21> Fault= PLC fault with Option to processed operator post tires [1308]
6-09-10 0:16:21> Bar Code Post - PLC fault
6-09-10 0:16:21> Group PLC faulted in step [9004]
6-09-10 0:46:52> Fault= PLC fault with Option to processed operator post tires [1308]
6-09-10 0:46:52> Bar Code Post - PLC fault
6-09-10 0:46:52> Group PLC faulted in step [9004]
Just need:
6-09-10 0:01:37>Fault= PLC fault with Option to processed operator post tires [1308]
6-09-10 0:01:37> Bar Code Post - PLC fault
6-09-10 0:01:37> Group PLC faulted in step [9004]