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

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

[Octave-bug-tracker] [bug #50034] "help ./" causes some extraneous print


From: Rik
Subject: [Octave-bug-tracker] [bug #50034] "help ./" causes some extraneous printout of path info
Date: Thu, 12 Jan 2017 14:56:12 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #50034 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #4:

Yep.  I see what you're seeing.  


Look at help.m at the end


    if (nargout == 0)
      evalin ("caller", ['which ("' undo_string_escapes(name) '")']);
      printf ("\n%s\n%s", text, __additional_help_message__ ());
    else
      retval = text;
    endif


It is the call to evalin which is adding the extra output.  I checked and the
value of 'text' is correct.  You can see this also by using a return argument
to help which then takes the else branch above.


s = help ("./")





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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