summaryrefslogtreecommitdiff
path: root/src/egrep.c
blob: f6a1d5967377a6f8dba885240f907e8509d25636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <config.h>
#include "search.h"

static void
Ecompile (char const *pattern, size_t size)
{
  GEAcompile (pattern, size, RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
}

struct matcher const matchers[] = {
  { "egrep", Ecompile, EGexecute },
  { NULL, NULL, NULL },
};

const char before_options[] =
N_("PATTERN is an extended regular expression (ERE).\n");
const char after_options[] =
N_("Invocation as `egrep' is deprecated; use `grep -E' instead.\n");