From: Junio C Hamano <hidden> Date: 2018-08-31 15:33:32
Johannes Schindelin [off-list ref] writes:
quoted
Would "echo base >base" give us 5-byte long base even on Windows?
Please note that Unix shell scripting is a foreign thing on Windows. As
such, there is not really any "native" shell we can use [*1*], and
Yeah, I know that; otherwise I wouldn't have asked. Because ...
therefore we use MSYS2's Bash which outputs Unix line endings.
... I didn't know what MSYS folks chose, and/or if you have chosen
to tweak their choice, and/or if you switched to somebody else's shell
(e.g. busybox) and/or you chose to tweak what they do out of the box,
it was worth asking and getting yes/no question. You do not have to
tell me why I should be asking.
So instead of typing 3 lines, you can just say "yes we use echo that
emulates Unix".
Thanks.
From: Jeff King <hidden> Date: 2018-08-31 19:47:31
On Fri, Aug 31, 2018 at 08:33:26AM -0700, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
quoted
Would "echo base >base" give us 5-byte long base even on Windows?
Please note that Unix shell scripting is a foreign thing on Windows. As
such, there is not really any "native" shell we can use [*1*], and
Yeah, I know that; otherwise I wouldn't have asked. Because ...
quoted
therefore we use MSYS2's Bash which outputs Unix line endings.
... I didn't know what MSYS folks chose, and/or if you have chosen
to tweak their choice, and/or if you switched to somebody else's shell
(e.g. busybox) and/or you chose to tweak what they do out of the box,
it was worth asking and getting yes/no question. You do not have to
tell me why I should be asking.
So instead of typing 3 lines, you can just say "yes we use echo that
emulates Unix".
I actually found Dscho's response much more informative than a simple
yes/no.
At any rate, it sounds like we are probably OK with echo, but I think it
is still worth doing the defensive patch-on-top that I posted.
-Peff
From: Johannes Schindelin <hidden> Date: 2018-08-31 21:14:40
Hi Junio,
On Fri, 31 Aug 2018, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
quoted
Would "echo base >base" give us 5-byte long base even on Windows?
Please note that Unix shell scripting is a foreign thing on Windows. As
such, there is not really any "native" shell we can use [*1*], and
Yeah, I know that; otherwise I wouldn't have asked. Because ...
quoted
therefore we use MSYS2's Bash which outputs Unix line endings.
... I didn't know what MSYS folks chose, and/or if you have chosen
to tweak their choice, and/or if you switched to somebody else's shell
(e.g. busybox) and/or you chose to tweak what they do out of the box,
it was worth asking and getting yes/no question. You do not have to
tell me why I should be asking.
So instead of typing 3 lines, you can just say "yes we use echo that
emulates Unix".
Thanks.
You could just express your gratitude that I do more than just answer a
question, and impart more knowledge that will help you be a better
maintainer.
Ciao,
Dscho
From: Jeff King <hidden> Date: 2018-08-31 21:41:19
On Fri, Aug 31, 2018 at 11:14:20PM +0200, Johannes Schindelin wrote:
On Fri, 31 Aug 2018, Junio C Hamano wrote:
[...]
quoted
So instead of typing 3 lines, you can just say "yes we use echo that
emulates Unix".
You could just express your gratitude that I do more than just answer a
question, and impart more knowledge that will help you be a better
maintainer.
It is my observation as a third party that there has been a lot of
bickering between you two lately (here and in other threads). Can you
both please try to make sure your comments are truly constructive?
I don't want to get into details of who I think has been unreasonable
when, or lay any kind of blame. I'm just concerned that exchanges like
this one worsen the general tone of the mailing list, and I'd like to:
- make it clear to other observers that there's at least one person
who hopes this is not the norm for this list
- make a general reminder that collaborating on the Internet is hard,
but it's worth spending the extra effort to consider how comments
will be taken by the intended receiver, as well as others on the
list
You're free to disagree, of course. And I'm sorry for being somewhat
vague. I really want to avoid opening up a specific flamewar, and just
make a general call for people to remember to be friendly.
If vger allowed HTML mail, I would link to a picture of a unicorn
running across a rainbow.
-Peff