That works well until the one occurance of the string is close to the end of your n GB file.
In reply to Re^2: Searching in binary files by BrowserUk in thread Searching in binary files by crenz