
To build: make

To use: there are 3 shells

(1) bwtc <textfile> <extra % for pointers>
	it indexes the text file and creates several files of the form
	<textfile>.bw*
	the extra % for pointers gives a space/time tradeoff for reporting

(3) bwtu <comprfile>
	it uncompresses the original text file, from <comprfile>.bw* files

(4) bwts <comprfile>
	it reads the index <comprfile>.bw* from disk and answers
	queries.
	
query format: just write down the word, the newline character finishes the
		query string
	      the query "END" finishes the program
	      a query of the form c:<string> just counts the occurrences
	      a query of the form p:<string> shows the positions of the occs
	      a query of the form s:<string> prints the lines containing occs
	      default is s unless there are no pointers in <comprfile>, in
		which case default is c
	      a query of the form <x>:END does not finish the program


