Echoing an empty line

Sako

Member
I'm running KoLmafia from the command line, and during the script execution I'd like to print some empty lines.
Code:
cli_execute("echo");
cli_execute("echo ");
cli_execute("echo.");
cli_execute("echo .");
Either of this won't work or won't produce what I want. Is there any other way?
 

Nightmist

Member
[quote author=Alexander Daychilde link=topic=721.msg3526#msg3526 date=1170310528]
but if something currently exists, would be good to know. :D
[/quote]
Well in 10.3 any echo starting with a "/" will act as a blank line. I'll go download 10.4 and see what it does. (Although I'm thinking its unintentional since ANYTHING after it is just removed.)

Edit: Hmm 10.4 seems to have the same weirdness with "echo /".
Edit2: Well it detects a ";" and makes it a new command so its not just ignoring the text after the "/" but just not displaying it? (So a
Code:
echo Test;echo /;echo ing.
Will output
Code:
Test

ing.
Only useful in a script but if your not scripting why would you need to be putting echo commands straight into the GCLI...
 
Top