Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 198807 - "doc" command not conformant to documentation
"doc" command not conformant to documentation
Product: Fedora
Classification: Fedora
Component: octave (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Quentin Spencer
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2006-07-13 14:36 EDT by Piergiorgio Sartor
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-07-13 16:56:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Piergiorgio Sartor 2006-07-13 14:36:41 EDT
Description of problem:

Typing "help doc" under octave returns:

 -- Command: doc FUNCTION_NAME
     Displays documentation for the function FUNCTION_NAME.  For
     example, if you want to see the documentation for the Octave
     random number generator `rand', type
          `doc rand'

but typing:

doc rand


parse error:

  syntax error

>>> doc rand

Version-Release number of selected component (if applicable):

How reproducible:
Always, and more...

Steps to Reproduce:
As above
Actual results:
Error is reported.

Expected results:
The documentation should be displayed.

Additional info:
Well, "doc" is a function and must be called as:


in order to operate properly. In fact the above line works fine.
Of course, "doc rand" would be much better, less and easier typing,
and conformant to the help.
Comment 1 Quentin Spencer 2006-07-13 16:56:10 EDT
I have just built a 2.9.6 release which appears to fix this problem on my
system. It should be available on the mirrors in the next day or two. I am
closing this bug, but if you still see the problem on 2.9.6, you can reopen it.
If you want "doc rand" to work on 2.9.5, try running the command
"mark_as_command doc" first.

Note You need to log in before you can comment on or make changes to this bug.