I have a file with the below data in test1.txt
:
nnn 90
vvv 80
ttt 50
sss 20
I want to compare the second column value and remove that line. For example, if any of the second column value is less than 20, then delete that line entry. The output of test1.txt
should look like:
nnn 90
vvv 80
ttt 50
I tried with sed
and awk
commands, but it's not working for me.