[hacknews] look

david@utzoo.UUCP (David Trueman) (02/26/84)

I have fixed the bugs in look(1) reported by Geoff Collyer a couple
of months ago:  the -d option now works as advertised and the exit 
codes have been cleaned up.  It now uses getopt(3) and the -t option
has been documented.  The flow control is still pretty messy--another
time.
-- 
				David Trueman @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!david

david@utzoo.UUCP (David Trueman) (03/13/84)

The algorithm of look(1) for doing a binary search of a sorted file has
been extracted into a separate library routine, look(3).  The code has
been cleaned up considerably in the process.  Look(1) has been changed to
make use of the library routine.
-- 
				David Trueman @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!david