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 returns: parse error: syntax error >>> doc rand ... Version-Release number of selected component (if applicable): 2.9.5-3.fc5 How reproducible: Always, and more... Steps to Reproduce: 1. As above 2. 3. Actual results: Error is reported. Expected results: The documentation should be displayed. Additional info: Well, "doc" is a function and must be called as: doc('rand') 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.
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.