The output from fprintf seems to be inconsistent when called from within a livescript. The interpreter seems to be adding extra newlines after each call.
For example take the following code:
K = 10;
if k < K
If you execute this code in a standard script, the output is formatted correctly:
Count: 1, Count: 2, Count: 3, Count: 4, Count: 5, Count: 6, Count: 7, Count: 8, Count: 9, Count: 10
If executed in a LiveScript, the output looks much different:
Is there a way to supress these extra newlines? Is this intended behaviour? Is there an elegant way of getting around this? (I could assemble the output string, before calling fprintf, but that seems cumbersome)