Help for this page

Select Code to Download


  1. or download this
    perl -ne '$a[$h{$_}]= ""; push @a, $_; $h{$_}= $#a; END{print for @a}'
    + file
    
  2. or download this
    perl -ne '$h{$_}= $.; END{print for sort {$h{$a} <=> $h{$b}} keys %h}'
    + test.txt