octave-maintainers
[Top][All Lists]
Advanced

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

Re: pwd & cd


From: Joaquim Luis
Subject: Re: pwd & cd
Date: Tue, 22 Nov 2011 13:18:26 -0800 (PST)

John W. Eaton wrote
> 
> On 22-Nov-2011, Joaquim Luis wrote:
> 
> | That's what I was afraid!
> 
> Why, what is the problem?  I think most Unix shells have the same
> behavior as Octave, in which cd with no arguments changes to the home
> directory.
> 
> Also, if you have a program that does
> 
>   dir = cd;
> 
> Octave will return the current directory and not change it, so I think
> this difference in behavior with Matlab should normally only affect
> interactive use.
> 
> jwe
> 

The problem is exactly that, at least on Windows, it doesn't work that way

octave.exe:1> d = cd
error: value on right hand side of assignment is undefined

Joaquim


--
View this message in context: 
http://octave.1599824.n4.nabble.com/pwd-cd-tp4091528p4097397.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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