'sort' sorts the entries in db.txt, uniq then cuts out duplicates and the the '>' redirects the output to a new file name instead of the screen (STDOUT).sort db.txt | uniq > newfile.db
In reply to Re: Remove Duplicate Lines
by tstock
in thread Remove Duplicate Lines
by dcb0127
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |