problem with sed on cygwin...duplicable?

2007-07-18 Thread Linda Walsh
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

Re: problem with sed on cygwin...duplicable?

2007-07-18 Thread Christopher Faylor
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

Re: problem with sed on cygwin...duplicable?

2007-07-18 Thread Linda Walsh
Christopher Faylor wrote: 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. Thanks...found it... Don't think cygcheck would have told you anything. Does it print bash aliases? When I tried a 'which',