I have two files
First file, namely file1, contains three lines with the following values
17.503766
17.252752
17.348948
Second file, namely frame1 contains following values
38.730
17.270
24.370
45.180
46.510
Target is to count how many of those values from frame1 file are larger than value which is presented in line1 of file1.
So will be something similar to below however I don't know how to set this as a criterion
awk '($1>??){ ++count } END{ print count }' 'frame1' > 'file-new'