I have a input file like
using the above input, i need to find out "What is the least value while doing the division operation". For example 225/2198=0.102365787, 374/315=1.187301587, from here i need to know what are the two values gives the least value.
I have tried the below code, it is working fine but i need to optimize this code.
if (/(\d+) (\d+)/)
if ($minimumAmount > ($1/$2))
what i'm looking is to increase the speed
if it is possible in unix command itself, it would be best