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


bug #39349: funny output from help .'

Submitted by:  Muhali <muhali>
Submitted on:  Thu 27 Jun 2013 08:40:16 AM UTC  
Category: InterpreterSeverity: 2 - Minor
Priority: 3 - LowItem Group: Documentation
Status: FixedAssigned to: Lachlan Andrew <lachlan>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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

without brackets also works fine.

This isn't limited to "help". Typing

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

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

as well as the "help NAME" text

Lachlan Andrew <lachlan>
Project MemberIn charge of this item.
Thu 27 Jun 2013 08:40:16 AM UTC, original submission:

To read

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 File(s):

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 08 Aug 2016 11:29:20 PM UTCrik5StatusPatch Submitted=>Fixed
    Wed 15 Jun 2016 02:16:55 AM UTClachlanAttached File-=>Added bug_39349_help_operators.cset, #37482
    Sun 12 Jun 2016 09:46:23 AM UTClachlanStatusConfirmed=>Patch Submitted
      Assigned toNone=>lachlan
    Thu 27 Jun 2013 04:19:33 PM UTCrik5Severity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low

    Back to the top

    Powered by Savane 3.1-cleanup1