[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why does command echo \\\foobar print \\foobar
From: |
Eli Zaretskii |
Subject: |
Re: why does command echo \\\foobar print \\foobar |
Date: |
Sun, 07 Feb 2010 20:51:09 +0200 |
> From: "Mark Galeck (CW)" <address@hidden>
> Date: Sun, 7 Feb 2010 10:41:36 -0800
> Accept-Language: en-US
> acceptlanguage: en-US
>
>
> >This works for me: I see
>
> echo \\\foobar
> \\\foobar
>
>
> OUCH! I was using Cygwin echo, unknown to me (echo is not a executable in
> Windows, so the windows shell found the Cygwin echo, later in the path, and
> did not do the built in Windows echo).
>
> So now I see this:
>
> Cygwin echo from Cygwin shell:
>
> $echo \\\foobar
> \foobar
>
> From windows shell:
>
> C:\Temp>c:\tools\cygwin\bin\echo \\\foobar
> \\\foobar
>
>
> And from within GNU make
>
> SHELL=cmd.exe
>
> foobar:
> echo \\\foobar
>
> C:\Temp>make foobar
> echo \\\foobar
> \\foobar
>
>
> I can kind of understand the first two behaviours: the first, Cygwin echo
> within a Unix-like shell, tries to behave like Unix. Second, within Windows,
> tries to be compatible with windows echo.
>
> But third, I still don't understand.
As I say above, I cannot reproduce your third behavior. Again, please
invoke Make with -d and show the results.
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Paul Smith, 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Paul Smith, 2010/02/07
- Message not available
- Message not available
- Message not available
- Message not available
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/07
- Re: why does command echo \\\foobar print \\foobar,
Eli Zaretskii <=
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/07
- Re: why does command echo \\\foobar print \\foobar, Eli Zaretskii, 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/07
- Re: why does command echo \\\foobar print \\foobar, Eli Zaretskii, 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/07
- Re: why does command echo \\\foobar print \\foobar, Eli Zaretskii, 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/07
- Re: why does command echo \\\foobar print \\foobar, Eli Zaretskii, 2010/02/07
- Re: why does command echo \\\foobar print \\foobar, tom honermann, 2010/02/08