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

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

[Octave-bug-tracker] [bug #46416] "methods" returns non m-files from @cl


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #46416] "methods" returns non m-files from @classdir
Date: Tue, 10 Nov 2015 18:06:52 +0000
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

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

                 Summary: "methods" returns non m-files from @classdir
                 Project: GNU Octave
            Submitted by: cbm
            Submitted on: Tue 10 Nov 2015 06:06:51 PM GMT
                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: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

If I have some files such as .txt, .png, .tst in "@myclass" dir, then they are
incorrectly returned by "methods myclass".

Example:

>> ls @test_class
file.png  hello  test_class.m  test_method.m  text2.md  text.txt

>> methods test_class
Methods for class test_class:
file         test_class   test_method  text         text2


Interestingly, "hello" which has no extension is not returned.

In Matlab, only m-files are returned---well I haven't checked their docs but
certainly *.txt, *.md, *.png, *.tst and no extension are ignored.





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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