Hi all

I have a lot of data that has to be processed, means 100 numbers having
to be divided by another 100 numbers. I did a job like this for adding
numbers to others by
bc < input-file > output-file
with input-file:
one             # eg.   199+243
operation       #       198+392
per             #       193-232
line            #       195+3556

This was really great and saved me hours of time. The problem is now,
that I have to do the same thing with divisions, meaning 3/4 = 0.75. But
bc spits out 3/4 => 0 and 4/3 => 1. Any Idea how I can change this
behaviour to get the real results? Would save me some more hours...

thanks
joerg

Reply via email to