help-octave
[Top][All Lists]
Advanced

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

Re: How to remove the redundant print when use help()?


From: Mike Miller
Subject: Re: How to remove the redundant print when use help()?
Date: Fri, 24 Aug 2012 11:56:28 -0400

On Fri, Aug 24, 2012 at 11:38 AM, Peng Yu <address@hidden> wrote:
> On Fri, Aug 24, 2012 at 10:07 AM, Peng Yu <address@hidden> wrote:
>> On Fri, Aug 24, 2012 at 9:27 AM, Mike Miller <address@hidden> wrote:
>>> On Fri, Aug 24, 2012 at 10:18 AM, Peng Yu wrote:
>>>>>> Whenever I call help(), I got the following output. It is annoying. Is
>>>>>> there a way to disable it? Thanks!
>>>>>
>>>>> help suppress_verbose_help_message
>>>>
>>>> There are also some empty line after the help (noted by ##). Is there
>>>> a way to remove them as well? Thanks!
>>>
>>> The text displayed is also the return value of help called as a
>>> function, so you can do:
>>>
>>> suppress_verbose_help_message (true);
>>> func = "pwd";
>>> strtrim( help (func))
>>>
>>> Does that work for you?
>>
>> Unfortunately, this does not work. See screen output below.
>
> I end up having to modify help.m myself.

Or upgrade to a recent version of Octave. The latest stable release is
3.6.2 and the help function returns the help text as a string and the
solution I outlined will work.

-- 
mike


reply via email to

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