octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #41275] cd should display current directory in


From: anonymous
Subject: [Octave-bug-tracker] [bug #41275] cd should display current directory instead of changin to user home
Date: Sun, 19 Jan 2014 12:22:10 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <http://savannah.gnu.org/bugs/?41275>

                 Summary: cd should display current directory instead of
changin to user home
                 Project: GNU Octave
            Submitted by: None
            Submitted on: So 19 Jan 2014 12:22:09 UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

In Matlab the command 

cd
 
will return the current directory (same as pwd) and stay in the same
directory.

In Octave, issuing "cd" will not print the current directory, but instead
change the working directory to the user profile folder. (Win7, Octave 3.8)

Can this be changed?
I know, that this is the default way cd works in Linux, but maybe there could
be an option "use Matlab-style cd command".

Remark:
I also know, that

curDir = cd
 
will save the current directory, but it then still changes to user profile
folder. Anyway, the default behavior of cd is not Matlab compatible.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41275>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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