common/tools/sortUnique.pl
changeset 1316 0b4a09013baf
parent 246 4f2482f1dd48
equal deleted inserted replaced
1315:8d797b367538 1316:0b4a09013baf
     1 #!perl -w
     1 #!perl -w
       
     2 # Copyright (c) 2009 Symbian Foundation Ltd
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of the License "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 #
       
     8 # Initial Contributors:
       
     9 # Symbian Foundation Ltd - initial contribution.
       
    10 # 
       
    11 # Contributors:
       
    12 #
       
    13 # Description:
       
    14 # Sorts the input, removes duplicates, and outputs it
       
    15 
     2 use strict;
    16 use strict;
     3 # Sorts the input, removes duplicates, and outputs it
       
     4 
    17 
     5 # Read it
    18 # Read it
     6 my @content = <>;
    19 my @content = <>;
     7 
    20 
     8 # Sort it, and grep to remove duplicates
    21 # Sort it, and grep to remove duplicates