Exaction of rows based on value using awk -
i have tab limited file this
gi nz 99.54 438 2 0 1 438 18559 18122 0.0 798 gi nz 99.77 438 1 0 1 438 1787 2224 0.0 804 gi nz 99.32 438 3 0 1 438 82769 83206 0.0 253 gi nz 100.00 438 0 0 1 438 19698 20135 0.0 809
from above file want extract rows based on value of 3rd row (<100). how possible
desirable output
gi nz 99.54 438 2 0 1 438 18559 18122 0.0 798 gi nz 99.77 438 1 0 1 438 1787 2224 0.0 804 gi nz 99.32 438 3 0 1 438 82769 83206 0.0 253
just this:
awk '$3<100' file
Comments
Post a Comment