Instead of writing a perl code that uses Bubble Sort/Quick Sort/or any other sorting algorithm, simply use "sort" command in unix.
## unix sort
## sort -gk 4,4 inputfile -o outputfile
## -g :general, handles scientific notation
## -k 4,4 :start and end on 4th field
Thursday, April 1, 2010
Subscribe to:
Posts (Atom)