bugGNU Octave - Bugs: bug #39349, funny output from help .'


bug #39349: funny output from help .'

Submitter:  Muhali <muhali>
Submitted:  Thu 27 Jun 2013 08:40:16 AM UTC
Category:  Interpreter Severity:  2 - Minor
Priority:  3 - Low Item Group:  Documentation
Status:  Fixed Assigned to:  lachlan
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Mon 08 Aug 2016 11:29:20 PM UTC, comment #5: 

@Lachlan: I pushed your cset here http://hg.savannah.gnu.org/hgweb/octave/rev/ab139f0733b9.  Now that we are requesting/requiring  that user's enclose operators in quotes the pseud-functions comma.m, semicolon.m, and paren.m are unnecessary so I have deprecated them.

Fixed, closing report.

Rik <rik5>
Project Administrator
Wed 15 Jun 2016 02:16:55 AM UTC, comment #4: 

Oops...  Here it is.

I also noticed that the computed assignment operators (+= etc) are totally missing from "help ." and "help --list", and that no explanation of "left division" vs "right division" is given.  I plan to prepare a separate patch improving help on operators generally.

(file #37482)

Lachlan Andrew <lachlan>
Sun 12 Jun 2016 03:50:17 PM UTC, comment #3: 

Could you try re-attaching the patch?  There's no file on savannah.

Rik <rik5>
Project Administrator
Sun 12 Jun 2016 09:46:23 AM UTC, comment #2: 

Here's a patch that documents how to get help on operators.

Since writing the previous comment, I've realised that the parser is doing the "right" thing, since Matlab allows function calls with no arguments to be used without () in expressions.

Lachlan Andrew <lachlan>
Sun 12 Jun 2016 08:41:45 AM UTC, comment #1: 

Just to clarify, the output is the transpose of the output of


with no argument.  It seems that the parser is treating .' as an operator rather than a string.  Typing

help ".'"

without brackets also works fine.

This isn't limited to "help".  Typing

ls .'

also gives the transpose of the desired string.  I'm not sure if that is for Matlab compatibility, but I know that JWE said that some rather silly parsing of infix operators is for Matlab compatibility, at bug #47676.

Also, help for many of the operators cannot be invoked this way, such as

help /
help '
help "

It may be worth saying that in the help text for operators, which is shown by

help .

as well as the "help NAME" text

Lachlan Andrew <lachlan>
Thu 27 Jun 2013 08:40:16 AM UTC, original submission:  

To read

help .'

one need to flip the monitor. ;-)

help(".'") works. Generally, 'help NAME' in the help documentation should be clarified.

Muhali <muhali>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by muhali (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.





    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-08 rik5 StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2016-06-15 lachlan Attached File- Added bug_39349_help_operators.cset, #37482
    2016-06-12 lachlan StatusConfirmed Patch Submitted
        Assigned toNone lachlan
    2013-06-27 rik5 Severity3 - Normal 2 - Minor
        Priority5 - Normal 3 - Low
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.9