delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/08/12/04:59:41

Message-Id: <200008120859.EAA12237@delorie.com>
Date: Sat, 12 Aug 2000 12:02:21 +0200
To: eggert AT twinsun DOT com
X-Mailer: WinNT's Blat ver 1.8.5b http://www.interlog.com/~tcharron
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
CC: meyering AT ascend DOT com, tr AT eth DOT net, djgpp-workers AT delorie DOT com,
autoconf AT gnu DOT org, ken AT gnu DOT org
In-reply-to: <200008111956.MAA12359@ruby.twinsun.com> (message from Paul
Eggert on Fri, 11 Aug 2000 12:56:20 -0700 (PDT))
Subject: Re: portability of sed's \{0,1\}?
References: <Pine DOT LNX DOT 4 DOT 21 DOT 0007250651010 DOT 823-100000 AT midpec DOT com>
<200008110941 DOT CAA29407 AT drawbridge DOT ascend DOT com>
<uryem3w86ib DOT fsf AT ixi DOT eng DOT ascend DOT com>
<200008111728 DOT KAA12810 AT drawbridge DOT ascend DOT com> <urysnsb4qia DOT fsf_-_ AT ixi DOT eng DOT ascend DOT com> <200008111956 DOT MAA12359 AT ruby DOT twinsun DOT com>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Fri, 11 Aug 2000 12:56:20 -0700 (PDT)
> From: Paul Eggert <eggert AT twinsun DOT com>
> 
> Most likely, seds that don't support ? and \| also don't support
> \{m,n\}, as I recall that those features were introduced to USG Unix
> at about the same time.

My references indicate otherwise.  For example, SunOS 4.x man page
for ed(1) clearly says that \{m,n\} is supported, while ? and \| are
not.  This is consistent with the latter two not being part of BRE.

Ken, could you comment on this?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019