Remove duplicates, tried several programs not wrking

view full story

http://www.unix.com – Hi all I tried to remove duplicates using all code mentione dbelow but its not wroking it's seems busy please check it Code: sort -u filename.txt Code: perl -lne 'chomp; if(!defined $x{$_}){$x{$_}=1;print}' inputfile out of attached files log file(input) log2file(output) Attached Files logfile.txt (64.4 KB) logfile2.txt (414 Bytes) (HowTos)