-- Original README by Steve Summit http://www.eskimo.com/~scs/
-- Changes for Shell-Way Utilities by Carlo Strozzi,
-- http://www.linux.it/~carlos/

Binary search utility for text files.
See bsearch.1 for documentation.
See http://www.eskimo.com/~scs/src/#bsearch for possible updates.

Portability notes:

Not widely portable; assumes fseek deals in byte offsets.

The program makes a few calls to caseless strcmp and strncmp
functions, which are typically named strcasecmp and strncasecmp
under Berkeley-derived or Berkeley-inspired versions of Unix,
and stricmp and strnicmp under MS-DOS or its descendants.
The code uses "stricmp" and "strnicmp" internally; the Unix
Makefile sets -Dstricmp=strcasecmp and -Dstrnicmp=strncasecmp.
On systems with stricmp and strnicmp instead, remove those -D's
from CFLAGS in the Makefile.  On systems with neither set of
functions, add the enclosed stricmp.c and strnicmp.c to the
build.

To build, just invoke `make', perhaps after adjusting the -D
flags or the stricmp.c files as just discussed.  There are no
other configuration options, and there is no config script.

This program and its source files are Copyright 1998-2003 by Steve Summit.
It may be freely redistributed so long as (1) the author's name
remains attached and (2) any modifications are marked as such.
