Hi,
I've been trying to work this out for myself but I feel I'm missing something fundamental and without guidance I won't be able to complete this quest:
I have a text file which is outputted by a automated router provisioning system, the file is in the following format:
Date time IPaddress Action
As the file is produced each line in the file contains the current Date and time so therefore each line in the file is unique because the time changes. However the IPaddress and Action part of each line may contain duplicates, its these duplicates I want to remove but still keep the output in time order.
I can produce output which excludes the duplicate IPaddress and Actions but the field which contains the time has to be removed as it causes all lines to be unique.
So how do I go about creating this ??Janitored by davido to provide formatting based on OP's direct input. See Writeup Formatting Tips for details.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |