select lines according to conditions.

P

papori

Guest
Hi!
i have a text file with columns and lins, and i want to select lines according to conditions.

the conditions are:
if deviding of column 3 in 4 result in 100.
for example:
column 3 is 400
column 4 is 4
then: 400/4=100

is there an easy way of doing that?

Thanks
Pap
 


Reading variables from a file: goo.gl/sDutg
Shell arithmetic: goo.gl/YaAwa
If & Else: goo.gl/89Mul

Where are you stuck?
 

Members online


Latest posts

Top