Github user aledsage commented on the issue:
https://github.com/apache/brooklyn-server/pull/554
FYI I tried this:
```
tee file1 <<-EOF
line1
line2
EOF
MYVAR=`cat file1`
echo $MYVAR
# shows "line1 line2" - note the special char shown as space
echo $MYVAR > file2
echo "$MYVAR" > file3
```
End result is that file3 is right (contains new line), but file2 does not.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---