James Youngman wrote:
Why not just use look(1)? On my GNU/Linux system here, that comes
with "bsdmainutils".
look(1) mmaps() the entire file to memory and is not useful for large
files (>2GB). In its current form, it operates only on the first 2GB of
the file. For larger files, mmap() will fail. Please correct me, if I am
wrong.
If there is a consensus to add this, I'd have a preference for a usage
pattern which is consistent with look(1).
IMHO, it will be useful to have an equivalent of look/bsearch in coreutils.
Regards,
Sorav
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils