SCCS-vsn: usr.bin/grep/old.egrep/old.egrep.y 4.3
-static char *sccsid = "@(#)old.egrep.y 4.2 (Berkeley) %G%";
+static char *sccsid = "@(#)old.egrep.y 4.3 (Berkeley) %G%";
#include <stdio.h>
#define MAXLIN 350
#include <stdio.h>
#define MAXLIN 350
int hflag = 1;
int sflag;
int vflag;
int hflag = 1;
int sflag;
int vflag;
int nfile;
int blkno;
long tln;
int nfile;
int blkno;
long tln;
execute(*argv);
argv++;
}
execute(*argv);
argv++;
}
+ exit(retcode != 0 ? retcode : nsucc == 0);
if (file) {
if ((f = open(file, 0)) < 0) {
fprintf(stderr, "egrep: can't open %s\n", file);
if (file) {
if ((f = open(file, 0)) < 0) {
fprintf(stderr, "egrep: can't open %s\n", file);