fseeking grepline with OSX/Windows/Linux awareness

not tested