[plug] Bash scripting suggestions required :}

Mathieu Petit-Clair mathieu.petitclair at gmail.com
Wed Sep 10 14:25:05 WST 2008


Keith Bawden wrote:
> On Wed, Sep 10, 2008 at 13:44, Adrian Chadd <adrian at creative.net.au> wrote:
>> cat /tmp/foo | sort | uniq > /tmp/foo2
>>
> 
> UUOC ;-)
> 
> sort /tmp/foo | uniq > /tmp/foo2
> 

At that point:

sort -u /tmp/foo > /tmp/foo2

Mat



More information about the plug mailing list