bugGNU Octave - Bugs: bug #53565, clear -x and clearvars revisit


bug #53565: clear -x and clearvars revisit

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Thu 05 Apr 2018 04:24:16 PM UTC  
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: Patch SubmittedAssigned to: None
Originator Name: Open/Closed: Open
Release: 4.2.1Operating 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 06 Apr 2018 06:28:05 PM UTC, comment #2:

So should we close bug #40095 as a duplicate of this now?

Mike Miller <mtmiller>
Project Administrator
Fri 06 Apr 2018 07:14:24 AM UTC, comment #1:

Oops, didn't post the "clear -x" issue.

If I understand correctly, the exclusive option (-x) should protect a1 so it isn't behaving correctly (or giving an error) when other arguments are supplied.

Ceral Paquet <octavebugs>
Thu 05 Apr 2018 04:24:16 PM UTC, original submission:

This is a reboot of bug #40095 which is not active. Please find attached a working version of clearvars and test cases.

Ceral Paquet <octavebugs>


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

Attach File(s):

Attached Files
file #43810:  clearvars.m added by octavebugs (3KiB - text/x-objcsrc)
file #43811:  test_clearvars.m added by octavebugs (1KiB - text/x-objcsrc)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by octavebugs (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 06 Apr 2018 06:28:05 PM UTCmtmillerCategoryNone=>Octave Function
      Item GroupNone=>Feature Request
      StatusNone=>Patch Submitted
    Thu 05 Apr 2018 04:24:16 PM UTCoctavebugsAttached File-=>Added clearvars.m, #43810
      Attached File-=>Added test_clearvars.m, #43811

    Back to the top

    Powered by Savane 3.1-cleanup1