I'm still a newbie to awk, what am I doing wrong? apologies for the poor description, I reformulate.
Goal
Only print the number of the second field if the number is > 20
lorem v3 <--- no print
ipsum v5 <--- no print
text v21 <--- print "21"
expla v12 <--- no print
My attempt that does not work
awk ' { sub("^v","",$2); if ( $2 > 20 ) print $2 } '