sstephenson/rbenv — pull request #341 by YanhaoYang (2013-02-22 14:01:53+00:00)
Title: rbenv(): preserve newlines in outputs

When a sh-* command is called, newlines in the outputs of the command cannot be preserved, resulting in that the commands in the outputs would not be executed correctly. For example, the outputs of the sh-* command is:

# comment
echo 'hi'

`eval` of line 100 in rbenv-init will get a string like this:

# comment echo 'hi'

The command `echo` will not be executed in this case.

Please check this.