From b0313e5cb2a08d6facbd72ca780665dc7fe6efee Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 7 Aug 2009 03:30:57 +0000 Subject: 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@ --- usr.bin/sed/extern.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/sed/extern.h') 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 *); -- cgit v1.2.3