home

BeOS
ixus
exify
myspots
htsearch

stdio
mail
links
htsearch - search for text in html files, and highlight the hits.
htsearch_1.0.zip
I've had this program lying around for some time now, and thought
you guys might need it for something.

I use a more advanced version of the program on the web server at
work (no, it's running Linux), as a simple search tool.

Hope you will find it useful.

Urban Lindeskog
----------

options:

search string [-mfile] [-p file] [-o -s -f -c] file [file...]

	string -	the text to search for. Put it between quotation
				marks if it contain spaces. The string is matched
				exactly, but not case sensitive.

	-mfile		file - name of file to store filenames containing
				the string. First line in the file is the number
				of matching files, the following lines are file names.

	-pfile		file - name of the preference file - defaults to
				search.cfg . The format of the config file is rather
				self-explanatory. 

	-o			stop searching further in the file if the string is
				found.

	-s			silent, do not output anything.

	-f			filter html tags from the source files in the output.

	-c			show the immediate context around a hit.