|
From: | Michael Goffioul |
Subject: | Re: Matlab incompatibility: cd and which |
Date: | Mon, 14 Oct 2013 11:25:06 -0400 |
On 10/14/2013 07:51 AM, Michael Goffioul wrote:
On Mon, Oct 14, 2013 at 3:16 AM, c. <address@hidden<address@hidden <mailto:michael.goffioul@gmail.com>> wrote:
> 2) "cd" without argument changes to home dir, while in Matlab it
simply returns the current directory.
this has been discussed before, it was decided to follow the more
consistent
bash behaviour of cd rather than the strange behaviour chosen by Matlab.
I figured this must have been discussed before, I just didn't remember
it. I just happened to bump into a toolbox that uses of handful of
"cd()" to retrieve the current directory, leading to unexpected behavior
on octave.
Is it doing
x = cd
? In that case, Octave should be returning the current directory and not changing it.
[Prev in Thread] | Current Thread | [Next in Thread] |