Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.sources.wanted Subject: Re: removing duplicate lines from a text file??? Keywords: duplicate lines, sort(1) Message-ID: <3081@auspex.auspex.com> Date: 26 Mar 90 18:48:36 GMT References: <1990Mar25.182039.25565@jarvis.csri.toronto.edu> <2309@network.ucsd.edu> Organization: Auspex Systems, Santa Clara Lines: 9 >> Is there any simple way to remove duplicate lines from a text file? ... >The easiest way is > sort -u orig_file > new_file Assuming, of course, that the order of the lines in the file isn't important.