patchGNU Octave - Patches: patch #9020, Octave core: new basename and...


patch #9020: Octave core: new basename and dirname functions

Submitter:  Mike Miller <mtmiller>
Submitted:  Mon 06 Jun 2016 02:32:43 AM UTC
Category:  Core : new function Priority:  3 - Low
Status:  Wont Do Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

Sun 07 Apr 2019 09:18:55 PM UTC, comment #1: 

Withdrawing this patch, these functions are now part of my Octave Goodies package

and that's good enough for my needs. I'll continue to maintain them there, and if others find them useful they could be pulled into Octave someday.

Mike Miller <mtmiller>
Group Member
Mon 06 Jun 2016 02:32:43 AM UTC, original submission:  

Looking to get some code review and opinions from other maintainers on these. The fileparts function is fine for Matlab compatibility, but I would like something for C library and Unix command line compatibility as well. The basename and dirname functions are slightly different from fileparts. They both use fileparts internally but do some cleanup before and after to make the results compatible with what users would expect from those functions.

Feedback please, thanks.

Mike Miller <mtmiller>
Group Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #37401:  basename-dirname.patch added by mtmiller (8KiB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by lachlan (Updated the item)
  • -email is unavailable- added by mtmiller (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-07 mtmiller StatusIn Progress Wont Do
        Open/ClosedOpen Closed
    2016-07-07 lachlan CategoryNone Core : new function
    2016-06-06 mtmiller Attached File- Added basename-dirname.patch, #37401

    Back to the top

    Powered by Savane 3.13-58d6.
    Corresponding source code