Date: Mon, 14 Aug 2000 09:11:14 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: eggert AT twinsun DOT com Message-Id: <8011-Mon14Aug2000091114+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b CC: meyering AT ascend DOT com, tr AT eth DOT net, djgpp-workers AT delorie DOT com, autoconf AT gnu DOT org In-reply-to: <200008132151.OAA05916@ruby.twinsun.com> (message from Paul Eggert on Sun, 13 Aug 2000 14:51:06 -0700 (PDT)) Subject: Re: portability of sed's \{0,1\}? References: <200008132151 DOT OAA05916 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 Precedence: bulk > Date: Sun, 13 Aug 2000 14:51:06 -0700 (PDT) > From: Paul Eggert > > I don't see any work-arounds suggested for these problems. > Does anyone know how do you express \(foo\)\{0,1\} portably? > > There's no simple, general substitute for \(foo\)\{0,1\}, but you can > generally get the effect that you want by using multiple sed commands. That's what I thought to use as fallback. Thanks for confirming that.