[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36375] path order after path(p)
From: |
Jordi Gutiérrez Hermoso |
Subject: |
[Octave-bug-tracker] [bug #36375] path order after path(p) |
Date: |
Wed, 09 May 2012 03:30:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Lakechicken/3.6.13 |
Follow-up Comment #5, bug #36375 (project octave):
What does Matlab do about system paths? Can you overwrite those? You can in
Octave. When you use path or addpath and you attempt to add a directory
already in the path, that directory gets moved to the top of the list. So when
you do
path(p)
the following happens for each x in p:
1) If x is already in the path, it gets moved to the top of the list (and its
status as system path or not gets preserved).
2) Else, add x to the top of the list.
So when you do path(p) and p contains system paths, the non-system paths will
get moved to the bottom.
Is this a bug only because Matlab doesn't do this? Does this really have to be
the same as Matlab?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36375>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #36375] path order after path(p), Muhali, 2012/05/02
- [Octave-bug-tracker] [bug #36375] path order after path(p), Jordi Gutiérrez Hermoso, 2012/05/08
- [Octave-bug-tracker] [bug #36375] path order after path(p), Jordi Gutiérrez Hermoso, 2012/05/08
- [Octave-bug-tracker] [bug #36375] path order after path(p), Muhali, 2012/05/08
- [Octave-bug-tracker] [bug #36375] path order after path(p), Jordi Gutiérrez Hermoso, 2012/05/08
- [Octave-bug-tracker] [bug #36375] path order after path(p), Muhali, 2012/05/08
- [Octave-bug-tracker] [bug #36375] path order after path(p),
Jordi Gutiérrez Hermoso <=
- [Octave-bug-tracker] [bug #36375] path order after path(p), Muhali, 2012/05/09
- [Octave-bug-tracker] [bug #36375] path order after path(p), Jordi Gutiérrez Hermoso, 2012/05/09
- [Octave-bug-tracker] [bug #36375] path order after path(p), John W. Eaton, 2012/05/09
- [Octave-bug-tracker] [bug #36375] path order after path(p), Jordi Gutiérrez Hermoso, 2012/05/09