On Saturday 06 July 2013 10:52 AM, Arun Khan wrote:
> 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].

hehe, that's nice, thanks for the award ;-). Yeah, i just typed that out and 
realized after I saw the mail on the list.

>> 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.
>
ehe, but that wouldn't demonstrate the point which was being made in the 
context, ie: capturing the intermediary sorted output in a text file before 
using uniq to remove duplicates.

cheers,
- steve
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to