bugGNU Octave - Bugs: bug #37947, Make "history" return...

 
 

bug #37947: Make "history" return something?

Submitted by:  Alexander Klein <matalex>
Submitted on:  Tue 18 Dec 2012 08:50:52 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: Jordi Gutiérrez Hermoso <jordigh>
Originator Name: Alexander KleinOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Wed 19 Dec 2012 05:48:18 PM UTC, comment #9:

Great. Works for me.

Ben Abbott <bpabbott>
Project Member
Wed 19 Dec 2012 04:01:24 PM UTC, comment #8:

That was sort of an unrelated issue. If you do "history 10 -q", the -q argument was ignored. I just patched that:

http://hg.savannah.gnu.org/hgweb/octave/rev/dbb7896f15c7

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Wed 19 Dec 2012 03:03:33 AM UTC, comment #7:

Jordi,

I thought all was working as intended, but just noticed the indices for the history are included in the output when the N last entries are requested.

Ben Abbott <bpabbott>
Project Member
Tue 18 Dec 2012 10:46:21 PM UTC, comment #6:

SUre.

Ben Abbott <bpabbott>
Project Member
Tue 18 Dec 2012 09:27:25 PM UTC, comment #5:

Ah, now you want more features... will h = history("10") satisfy you for now?

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Tue 18 Dec 2012 08:13:49 PM UTC, comment #4:

Should history(n) work?

Ben Abbott <bpabbott>
Project Member
Tue 18 Dec 2012 07:30:18 PM UTC, comment #3:

Here, give this a spin:

http://hg.savannah.gnu.org/hgweb/octave/rev/1eee8d8c59fd

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Tue 18 Dec 2012 03:56:17 PM UTC, comment #2:

This is pretty easy to do, I'm on it...

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Tue 18 Dec 2012 02:54:34 PM UTC, comment #1:

As a work-around,

Ben Abbott <bpabbott>
Project Member
Tue 18 Dec 2012 08:50:52 AM UTC, original submission:

Hello,

would it be possible to make history return its output as a cell-array of strings or something?

The idea is that on unixoid systems one would be able to queue batch jobs like:

Best,

Alex

Alexander Klein <matalex>

 

(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 jordigh (Posted a comment)
  • -unavailable- added by bpabbott (Updated the item)
  • -unavailable- added by matalex (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Dec 2012 05:53:04 PM UTCjordighStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 18 Dec 2012 07:30:18 PM UTCjordighStatusIn Progress=>Ready For Test
    Tue 18 Dec 2012 03:56:17 PM UTCjordighStatusNone=>In Progress
      Assigned toNone=>jordigh
    Tue 18 Dec 2012 02:31:38 PM UTCbpabbottRelease3.6.1=>dev

    Back to the top


    Powered by Savane 3.1-cleanup1