If the order of the lines is unimportant, sort them first, then examine them in order, testing whether the 'next' line matches the current line. Only print the lines where this is not true (there is no match).
In reply to Re: Deleting duplicate lines from file
by spiritway
in thread Deleting duplicate lines from file
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |