On Sat, Jul 6, 2013 at 9:13 AM, ShanthaKumar <[email protected]> wrote: > --- On Fri, 05 Jul 2013 07:38 PM, steve <[email protected]> wrote: > >> cat somefile.txt | sort | tee sorted.txt | uniq > > This reminds me once I was given UUoC award [1]. > If I'm right, this could be, > > $ sort somefile.txt | tee sorted.txt | uniq
FWIW, GNU sort has <-u|--unique> option to remove the duplicate entries. -- Arun Khan Sent from my non-iphone/non-android device (অরুণ খান্/अरुण खान) _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
