Sorav Bansal wrote:
> I often use the 'sort' program often for sorting text files. Recently, I 
> had to write a binary search utility that can search for a key in a file 
> sorted using the 'sort' program. 

The only issue I have with 'bsearch' is that by name it implies that
it can only ever do a binary search.  If at some point in the future
someone produces a different search algorithm for it then the name
rather restricts it.  That may be okay though.  Because it is nice to
have a name which makes it obvious what it is doing.

Bob


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to