Imagine I have the following file with a header (A,B,C,D,E,F) and one row of data:
A B C D E F
-20 0 4 20 10 50
I want to extract the header names corresponding to the fields where data is >= 20 with the command line, so that I get:
D F
How can I do this? (with command line or awk)