Help for this page

Select Code to Download


  1. or download this
        perl -ne 'print if!$h{$_}++' file1 file2 ... > newfile
    
  2. or download this
        perl -pe '$_=$,if$,{$_}++' file1 file2 ... > newfile