Roy dixit: > But MSYS bash did it in same way.
Yes, but this is not GNU bash – one of mksh’s strengths is that it behaves the same across all platforms. > The following patch works only with CRLF, not > any CR. It still breaks cr=$(print \\r) cr=$(mksh -c 'print \\r') and possibly, depending on which printf(1) is used, cr=$(printf \\r) > I leave the patch here so that someone who want to use mksh as MSYS shell can > be helped. It’s just that people who write shell scripts for MSYS should take care to strip the CR off external commands themselves or switch the stdio into binary mode. (That’s usually not a lot.) bye, //mirabilos -- <Natureshadow> Dann mach ich git annex copy --to shore und fertig ist das <Natureshadow> das ist ja viel cooler als ownCloud ... <mirabilos> sag ich doch <Natureshadow> ja wieso stimmt das denn immer was du sagst ...
