VI.d.1 GREP searching --------------------- Traditional GREP searching is a brute-force search of a directory for one or more character strings. Files in which one or more hits on the specified character strings are found are returned in a menu to the client for possible retreival. The OpenVMS Gopher Server implements this using DCL Search at present. As a result, regular expressions are not permissable as search terms. To define a GREP search, the path must specify a directory, as in: Path=7gopher_root1:[gopher.vms.server] A side effect of the OpenVMS implementation allows specification of wildcarded files to restrict the search to only a subset of the directory, as in: Path=7[source]*.c, *.h Hunter Goatley (formerly of Western Kentucky University, Bowling Green, KY, USA) has ported GNU grep v1.6 to OpenVMS; this is used for EGREP. Thanks to Foteos Macrides (Worcester Foundation for Experimental Biology) for enhancing EGREP for use with the OpenVMS Gopher Server (GGREP) and to Hunter, both for porting GREP and for incorporating Foteos' enhancements into the general distribution as part of the official OpenVMS version of EGREP. Note the standard OpenVMS distribution also includes this port of EGREP. A file, [.DOC]ABOUT.REGULAR_EXPRESSIONS, is supplied to provide a basis for a document you might want to include a link to whenever you provide a link to a GREP search. Regular expressions are the heart of a GREP search, but it is not a given that your users will understand what they are and how to use them. .