diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2009-08-07 03:30:57 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2009-08-07 03:30:57 +0000 |
commit | b0313e5cb2a08d6facbd72ca780665dc7fe6efee (patch) | |
tree | 4fde87dc546c39008767d1d9ad819c7d806ddeb1 /usr.bin/sed/extern.h | |
parent | 3f7e782580104cfcda4ce4124faad79a7990307f (diff) |
add -E flag to compile regular expressions using the extended POSIX
syntax. The -E flag is compatible with the other BSDs and OSX. -r is
also provided as an alias for compatibility with GNU sed.
feedback from jmc@ and millert@
ok millert@ pyr@ henning@ marco@
Diffstat (limited to 'usr.bin/sed/extern.h')
-rw-r--r-- | usr.bin/sed/extern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sed/extern.h b/usr.bin/sed/extern.h index 80e359576f7..51fa89bb230 100644 --- a/usr.bin/sed/extern.h +++ b/usr.bin/sed/extern.h @@ -1,4 +1,4 @@ -/* * $OpenBSD: extern.h,v 1.5 2008/10/08 17:26:47 millert Exp $*/ +/* * $OpenBSD: extern.h,v 1.6 2009/08/07 03:30:56 djm Exp $*/ /*- * Copyright (c) 1992 Diomidis Spinellis. * Copyright (c) 1992, 1993 @@ -41,7 +41,7 @@ extern size_t maxnsub; extern u_long linenum; extern int appendnum; extern int lastline; -extern int aflag, eflag, nflag; +extern int Eflag, aflag, eflag, nflag; extern char *fname; void cfclose(struct s_command *, struct s_command *); |