Page 1 of 1

About output return in cmdline

Posted: 2015-09-30T07:08:28-07:00
by adil@alfasoft.ro
Hello,

Does anybody know if something changed after 6.8.4 version (wich I used until now)regarding multiple
' -format "%@" -write info: "
in a single command?

On the older version the output was an array , in newer version 6.9.0 (the only I checked) there is also an array but with only one element and all the "info" results inside this element.
Example:
IM 6.8.4
["1000x1+1+1"]
["1000x1+1+1"]

IM 6.9.0 same command
["1000x1+1+11000x1+1+1"]


Thank you.

Re: About output return in cmdline

Posted: 2015-09-30T07:14:10-07:00
by snibgo
Some time ago, probably around then, the trailing '\n' was removed from formats. If you want one, you need to put it in yourself.

Code: Select all

-format "%@\n"

Re: About output return in cmdline

Posted: 2015-09-30T07:19:47-07:00
by adil@alfasoft.ro
So "\n" is no more used, right?

Re: About output return in cmdline

Posted: 2015-09-30T08:52:28-07:00
by snibgo
If you want "\n", you need to put it in yourself.