delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/18/18:41:16

X-Spam-Check-By: sourceware.org
Date: Wed, 18 Jul 2007 18:41:09 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: problem with "sed" on cygwin...duplicable?
Message-ID: <20070718224109.GB17624@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <469E9423 DOT 1020506 AT tlinx DOT org>
MIME-Version: 1.0
In-Reply-To: <469E9423.1020506@tlinx.org>
User-Agent: Mutt/1.5.15 (2007-04-06)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Wed, Jul 18, 2007 at 03:28:51PM -0700, Linda Walsh wrote:
> 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.

You probably have another version of sed in your path then.  WJFFM.

cygcheck output would also tell us if you have the right version of sed.

cgf

--
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