Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Find highest and lowest numerical values for columns in a file

by vdb (Initiate)
on Jun 24, 2011 at 02:12 UTC ( [id://911189] : perlquestion . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #CLIENT NAME
    #PROJECT NAME
    ...
    ZZ  4001 4161  1088  2654 9876543 123456
    ZZ  4001 4161  1152  2657 9876543 123456
    ZZ  4001 4161  1216  2655 9876543 123456
    
  2. or download this
    cat ABC_noheader.dat | awk '{print $2}' | sort -g > Column2.dat