[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: system command status/output order changed in 2.9.x

From: Quentin Spencer
Subject: Re: system command status/output order changed in 2.9.x
Date: Fri, 22 Sep 2006 07:57:25 -0500
User-agent: Thunderbird (X11/20060913)

Matthias Brennwald wrote:
Message: 3
Date: Thu, 21 Sep 2006 13:46:28 -0600
From: Joshua Rigler <address@hidden>
Subject: system command status/output order changed in 2.9.x
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

After a brief search, I could find no mention of this change in the last
year's email list archives (as saved on my computer), nor by pointing
Google at the standard Octave websites (including the wiki).

The output order of Octave's 'system' command seems to have changed
since 2.1.x.  It used to be:

[output, status] = system(sys_cmd);
It is now (in 2.9.8):

[status, output] = system(sys_cmd);
It seems to me that this warrants a note in the new 'NEWS' file
(distributed in the source code tar-ball or via CVS), along with all the
other changes due in Octave 3.x, since it could very easily change the
behavior of an existing program without actually breaking it.

Why not just go back to the old order? That would leave everything running as it was intended to. Why did this change anyway?

Matlab compatibility.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]