This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: problem with "sed" on cygwin...duplicable?
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 18 Jul 2007 18:41:09 -0400
- Subject: Re: problem with "sed" on cygwin...duplicable?
- References: <469E9423.1020506@tlinx.org>
- Reply-to: 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/