odd sed behavior

Chris Faylor cgf@cygnus.com
Wed Mar 22 11:26:00 GMT 2000


On Wed, Mar 22, 2000 at 10:16:24AM -0800, Earnie Boyd wrote:
>--- Michael O'Brien <mobrien@pixar.com> wrote:
>> Hola~
>> 
>> This is what I'm doing currently. The sed expression is in a Makefile, so
>> the better solutution would be to leave it there as opposed to adding a two
>> line file. I'm not trying to be picky, I just want to understand who's
>> having problems (sed or the command prompt).
>> 
>
>As has already been stated it is the command prompt.  It doesn't understand the
>single-quote ' character as a quoting character.  You could try replacing it
>with a double-quote " character; but, I have no idea if it will work.  Most
>users of Cygwin use it from the bash prompt so there aren't these kinds of
>problems.

Actually, if this is being called in a Makefile then setting MAKE_MODE=unix
should fix the problem.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list