| delorie.com/archives/browse.cgi | search |
| Date: | Mon, 14 Aug 2000 09:11:14 +0200 |
| From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
| 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: | <Pine DOT SUN DOT 3 DOT 91 DOT 1000813101728 DOT 21572B-100000 AT is> <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 |
> Date: Sun, 13 Aug 2000 14:51:06 -0700 (PDT)
> From: Paul Eggert <eggert AT twinsun DOT com>
>
> 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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |