Text file processing: The first line having a variable value bigger than a specific number

view full story

http://askubuntu.com – I have a very huge text file, and I want to know how can I find the first line in which the value of a variable is bigger than 1000? Assuming that the variable and its value have only one space in between like this: abcd 24 (HowTos)