Greetings, Nikolay Melekhin! Please don't top-post. Thank you.
> Thanks! This option is what I am looking for. > However I cannot agree with you on bash behavior in Cygwin. Section of > command substitution in bash documentation says: > https://www.gnu.org/software/bash/manual/bash.html#Command-Substitution > "...with any trailing newlines deleted." That is why I expected that > bash should remove trailing newlines in command substitution results, > which are CRLF on Windows. > From my point of view, bash in Cygwin should follow the same rule on > Linux and Windows: remove trailing newlines in command substitution. > So remove trailing CRLF on Windows. Cygwin adhere to POSIX standard. Not Windows. -- With best regards, Andrey Repin Tuesday, September 12, 2017 12:06:51 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

