[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41275] cd should display current directory in
From: |
Michael C. Grant |
Subject: |
[Octave-bug-tracker] [bug #41275] cd should display current directory instead of changing to user home |
Date: |
Tue, 11 Feb 2014 17:08:10 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11 |
Follow-up Comment #6, bug #41275 (project octave):
Let me add, however, that you could eliminate probably >95% of the
incompatibilities while still preserving the UNIX-like behavior if you
differentiate between nargout==0 and nargout==1. That is:
odir = cd;
would act just like pwd (nargout==1), while
cd;
would behave as you expect it to; that is, changing the directory to the home
directory.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41275>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/