install script emits bad characters on cygwin #46
jirutka
commented
May 22, 2015
I recommend to just not use this installation script and copy those few lines manually according to new instructions in the readme.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
installscript has a cosmetic issue when running on Cygwin/Windows 7 for me. The\ncharacters are printed literally instead of turning in to newlines, even when explicitly run underbash.This is on Windows 7, with Cygwin updated as of about 1/25/2015.
I think this is because
echois non-portable when used with escape sequences or options. Different shells and even differentbashes might behave differently on different systems. Described here. It'll probably affect Fedora 21 and FreeBSD as well, based on a similar issue I've seen with oh-my-zsh (robbyrussell/oh-my-zsh#3658).Looks like it could be fixed by replacing
echowithprintfcalls.