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
 


OP
S

Schlittenhund

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

Where are you stuck?
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top