[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37183] Return string when use help().
From: |
Peng Yu |
Subject: |
[Octave-bug-tracker] [bug #37183] Return string when use help(). |
Date: |
Fri, 24 Aug 2012 17:45:00 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1 |
URL:
<http://savannah.gnu.org/bugs/?37183>
Summary: Return string when use help().
Project: GNU Octave
Submitted by: pengyu
Submitted on: Fri 24 Aug 2012 05:44:59 PM GMT
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.4.0
Operating System: Any
_______________________________________________________
Details:
"deblank(help('help'))" works, but "deblank(help())" does not.
Please see detailed discussion at
http://octave.1599824.n4.nabble.com/How-to-remove-the-redundant-print-when-use-help-tt4643201.html#a4643257
/tmp$ cat test.sh
#!/usr/bin/env bash
/opt/local/bin/octave -q << EOF
%deblank(help('help'))
deblank(help())
EOF
/tmp$ ./test.sh
For help with individual commands and functions type
help NAME
(replace NAME with the name of the command or function you would
like to learn more about).
For a more detailed introduction to GNU Octave, please consult the
manual. To read the manual from the prompt type
doc
GNU Octave is supported and developed by its user community.
For more information visit http://www.octave.org.
error: Invalid call to deblank. Correct usage is:
-- Function File: deblank (S)
/tmp$ octave --version
GNU Octave, version 3.4.0
Copyright (C) 2011 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
Octave was configured for "x86_64-apple-darwin10.7.3".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Read http://www.octave.org/bugs.html to learn how to submit bug reports.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37183>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37183] Return string when use help().,
Peng Yu <=