If I type this, I can grep through a file and get all matches, and then print only the first ones.
grep -n something somefile | head
But with a file size of 2.0GB, it takes a really long time. I guess this is because grep has to go all the way through and pass _all_ the data to head? Anyway, is there a faster way to just have grep put the very first thing it matches without having to pipe to another program? Specifically, I would like the line number also, because I need just stuff after "04/Feb" in a log file.