 GNU grep v1.6 (June 11, 1992)   E This version was taken from prep.ai.mit.edu and modified to run under E VMS.  It compiles under VMS using GNU C or VAX C.  It was tested with , GNU C v1.39.1 and VAX C v3.2 under VMS v5.5.  I Thanks to Henrik Tougaard, Datani A/S, Copenhagen, Denmark <ht@datani.dk>  for the VAX C changes.  M As supplied, VMSMAKE.COM also compiles SHELL_MUNG.C, which will allow grep to  handle wildcarded file specs.    To install:     	$ @VMSMAKE.COM			!or just $ MMS 	$ GREP :== $dev:[dir]GREP.EXE  	$ EGREP :== $dev:[dir]EGREP.EXE 	$ SET DEFAULT [.TESTS] # 	$ @VMSREGRESS.COM		!To test it out # 	$ LIBRARY/HELP/INSERT library GREP    New to this distribution:   2 	VMSMAKE.COM			DCL command procedure to build grep% 	DESCRIP.MMS			MMS file to build grep . 	GREP.CLD			Command definition file for e?grep8 	GREP.EXAMPLES			grep commands equiv. to SEARCH commands. 	GREP.RNH			RUNOFF source for on-line VMS help" 	SHELL_MUNG.C			Emulate UNIX shell 	GREP.C				Modified for VMS  	DFA.C				Modified for VMS 	DFA.H				Modified for VMS 	REGEX.C				Modified for VMS@ 	[.TESTS]VMSSCRIPTGEN.AWK	GNU awk program to create testing .COM< 	[.TESTS]VMSREGRESS.COM		DCL command procedure to test egrep  O This version of grep also includes a few VMS-specific (bracketed by #ifdef VMS)  changes.  Specifically:         1.  Added call to shell_mungI     2.  References to sys_errlist[errno] were causing grep to stack dump. /         I modified it to call strerror instead. 9     3.  The exit statuses were changed to better fit VMS: 3             Meaning                  UNIX       VMS 3             -------                  ----       --- 3             matches found               0         1 3             no matches found            1         3 ?             error                       2        44 (SS$_ABORT) F     4.  Modified print_line to use puts when printing lines instead of,         putchar.  Much faster output on VMS.  A I also modified SHELL_MUNG.C to allow it to be compiled by GNU C.   ? Any suggestions/comments/etc. can be sent to the address below.   L Hunter Goatley, VAX Systems Programmer      E-mail: goathunter@WKUVX1.BITNETB Academic Computing, STH 226                 Voice:  (502) 745-5251 Western Kentucky University  Bowling Green, KY 42101 