export TEST=`./main`You get"EST="a Notice that the linefeed has continued on and inserted into the environment variable which is incorrect.
Sorry, but you get what ? Where ? I don't understand.You say that the LF has been inserted into the environment variable. In that case, there is a problem in the shell interpretation of ``, not in the MiNTLib.
Could you explain more precisely your problem, please ? Vincent Rivière