[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bsearch utility
From: |
Bob Proulx |
Subject: |
Re: bsearch utility |
Date: |
Thu, 14 Jul 2005 11:33:41 -0600 |
User-agent: |
Mutt/1.5.9i |
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
- Re: bsearch utility, (continued)
- Re: bsearch utility, Paul Eggert, 2005/07/14
- Re: bsearch utility, Sorav Bansal, 2005/07/21
- Re: bsearch utility, Paul Eggert, 2005/07/21
- Re: bsearch utility, Sorav Bansal, 2005/07/22
- Re: bsearch utility, Paul Eggert, 2005/07/23
- Re: bsearch utility, Sorav Bansal, 2005/07/26
Re: bsearch utility,
Bob Proulx <=
Re: bsearch utility, Sorav Bansal, 2005/07/14