I have the following awk script:
{
if ($1 > 1000) {
print $0
}
}
It should print all the lines where the value of the first column is above 1000.
Here is the test data:
1,151
1001,055
756,75788
Using `awk -f my_script.awk my_data`, I have the following output:
1001,055
756,75788
Where I am expecting:
1001,055
Awk version is:
GNU Awk 5.0.0, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.1.2)
What I am doing wrong ?