bugGNU Octave - Bugs: bug #52714, whos_line_format command...

 
 

bug #52714: whos_line_format command "%c" does not work if without a modifier ("l" or "r")

Submitted by:  None
Submitted on:  Thu 21 Dec 2017 02:13:16 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 4.2.1
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 22 Dec 2017 12:29:22 AM UTC, comment #1:

I fixed this issue here (http://hg.savannah.gnu.org/hgweb/octave/rev/9a9b2e0596f5). I made this change on the development branch so you will need to build from sources or wait until the 4.4 release to see the change.

Rik <rik5>
Project Administrator
Thu 21 Dec 2017 02:13:16 PM UTC, original submission:

The docstring of whos_line_format says that
"Every command may also have an alignment modifier".

But as long as there is "%c" in the string of whos_line_format, running "whos" will raise an error. To avoid error, an modifier must be added i.e. to use "%lc" or "%rc".

It seems that once it sees "%c" in the string, it takes "c" as a modifier rather than a command.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 22 Dec 2017 12:29:22 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1