TB 1/31/02
To Run this program:
1. Go to the Libraries dialog and add the sample.dll.
2. The function that will now run is GREPMERG and it can be run from the API Command dialog or command line.


The code in sample.c contains one function "GrepMerge".  It can be
typed from the command line or bound to a key.  Its purpose is to 
jump to the next matching FGrep line and append everything from that
position to the end of the file to a new buffer.

Three assumptions are made when "GrepMerge" is invoked:

	1) An FGrep has been called and is displayed.

	2) The current buffer is positioned at the first
       matched item because "GrepMerge" is going to copy
       from the current position to the end of the file
       no matter what (for the first buffer).

	3) The output buffer by default is "grepout".  This buffer
       will be cleared when invoked so if this name is not
       appropriate, supply a new one (i.e. "GrepMerge foobar").
