Wednesday, March 30, 2011

Sort

sort filesort filein > fileout
sort file and remove duplicatessort filein > fileout | uniq
sort file and view duplicatessort filein > fileout | uniq -d
sort file numericallysort -n filein > fileout
sort multiple files togethersort filein1 filein2 > fileout

No comments:

Post a Comment