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

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

[Octave-bug-tracker] [bug #39922] type () fails to display the content o


From: Julien Bect
Subject: [Octave-bug-tracker] [bug #39922] type () fails to display the content of an ASCII file with no extension
Date: Fri, 06 Sep 2013 14:25:26 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:23.0) Gecko/20100101 Firefox/23.0

Follow-up Comment #2, bug #39922 (project octave):

I confirm that type displays the content of the file if I rename it to
README.txt instead of README.

According to the documentation, however, nothing should be displayed since
README.txt is not a function:

++
'type' is a function from the file /usr/share/octave/3.6.4/m/help/type.m

 -- Command:  type NAME ...
 -- Command:  type -q NAME ...
 -- Function File: dfns = type ("NAME", ...)
     Display the definition of each NAME that refers to a function.

     Normally also displays whether each NAME is user-defined or
     built-in; the `-q' option suppresses this behavior.

     If an output argument is requested nothing is displayed.  Instead,
     a cell array of strings is returned, where each element
     corresponds to the definition of each requested function.
--


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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