|
From: | Sorav Bansal |
Subject: | Re: bsearch utility |
Date: | Thu, 14 Jul 2005 13:38:16 -0700 |
User-agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
James Youngman wrote:
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.Why not just use look(1)? On my GNU/Linux system here, that comes with "bsdmainutils".
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
[Prev in Thread] | Current Thread | [Next in Thread] |