[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.
- pwd & cd, Joaquim Luis, 2011/11/21
- Re: pwd & cd, Ben Abbott, 2011/11/21
- Re: pwd & cd, Joaquim Luis, 2011/11/21
- Re: pwd & cd, John W. Eaton, 2011/11/21
- Re: pwd & cd, Joaquim Luis, 2011/11/22
- Re: pwd & cd, John W. Eaton, 2011/11/22
- Re: pwd & cd,
Joaquim Luis <=
- Re: pwd & cd, Martin Helm, 2011/11/22
- Re: pwd & cd, J Luis, 2011/11/22
- Re: pwd & cd, John W. Eaton, 2011/11/22
- Re: pwd & cd, John W. Eaton, 2011/11/22
- Re: pwd & cd, Martin Helm, 2011/11/22
- Re: pwd & cd, Joaquim Luis, 2011/11/23