delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/18/18:29:11

X-Spam-Check-By: sourceware.org
Message-ID: <469E9423.1020506@tlinx.org>
Date: Wed, 18 Jul 2007 15:28:51 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: problem with "sed" on cygwin...duplicable?
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I was wondering if the following simple example worked for
other people.  It works on my linux box, but not on my cygwin
box.

Fails & prints usage:

    echo 1|sed -r 's/1/2/'

The problem seems to be the extended regular expression switch.
The spelled out form was no better.

I'd guess it was not built right, but I would think it would
remove the "-r" from the usage if it was built without
extended regexp support.

Anyone else duplicate?  Should I send the problem to the
"sed-bug" list or is it a cygwin build problem?

Thanks,
L



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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