delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/01/10:35:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 1 Mar 2003 16:32:42 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: sed 4.0.5 regexp problem
Message-ID: <20030301153242.GD1193@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
References: <D5A7E45D575DD61180130002A5DB377C02D14F0E AT ca25exm01>
Mime-Version: 1.0
In-Reply-To: <D5A7E45D575DD61180130002A5DB377C02D14F0E@ca25exm01>
User-Agent: Mutt/1.4i

On Fri, Feb 28, 2003 at 03:37:33PM -0800, Berger David-MGI2063 wrote:
> The following should be equivalent, they no longer are:
> 
> 	echo 'T _atan2' | sed -e 's/^T\W*\(\w*\)/FuncSymbol(\1),/
> 
> 	echo 'T _atan2' | sed -e 's/^T[[:space:]]*\([[:alnum:]_]*\)/FuncSymbol(\1),/
> 
> The first one used to work, now only the second one does.  This is not good.

Cygwin sed is just plain vanilla sed.  Since sed is using it's own
homebrew of regex it's very likely a sed problem, not a Cygwin problem.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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