On 9/19/15 2:21 PM, Martin Dyring-Andersen wrote:
> > Hi guys, > > I am trying to capture output of  a shell command in local variable to > be used in a <define> later on. However I am running into some trouble, > specifically that a line feed is also captured: > > local MY_LOCAL = [ SHELL "echo test" ] ; > > echo "before$(MY_LOCAL)after" ; >

Maybe try:

local MY_LOCAL = [ SHELL "echo -n test" ] ;