[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') revers
From: |
Rob Wilkens |
Subject: |
[Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order |
Date: |
Fri, 17 Jun 2016 14:32:53 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #4, bug #48247 (project octave):
If you leave the default '-begin' option, it prepends one at a time, which is
what you are seeing. If you change it to '-end' (last parameter to addpath)
it lists them in the expected order with append, but at the end of the list.
The secret to get the desired behavior is when -begin is selected, prepend the
parameters in the reverse order.
I would (and might) do this myself but i need to get out for a bit, if no one
else wants to, I might attempt this later. Warning: I'm a bored noob looking
for stuff to do, but i do have a CS education circa 1996.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48247>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order, Garrett Euler, 2016/06/16
- [Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order, Mike Miller, 2016/06/16
- [Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order, Garrett Euler, 2016/06/16
- [Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order, Lachlan Andrew, 2016/06/16
- [Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order, Lachlan Andrew, 2016/06/16
- [Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order,
Rob Wilkens <=
- [Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order, Rob Wilkens, 2016/06/17
- [Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order, Lachlan Andrew, 2016/06/18
- [Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order, Rik, 2016/06/19