Would something like `fgrep --mmap' benefit from madvise-ing the kernel, that the mmap-ed region (the input file) will be used sequentionally (MADV_SEQUENTIONAL) and covering the already searched parts with MADV_DONTNEED|MADV_FREE? Thanks! -mi