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.