bugGNU Octave - Bugs: bug #43211, gunzip, bunzip2, unpack, untar,...

 
 

bug #43211: gunzip, bunzip2, unpack, untar, unzip do not accept wildcard *

Submitted by:  None
Submitted on:  Fri 12 Sep 2014 01:24:58 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: StefanOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.2
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 07 Oct 2014 08:15:44 PM UTC, comment #3:

@Massimiliano: I applied your patch here (http://hg.savannah.gnu.org/hgweb/octave/rev/0ded8964c13a).

I followed it up with another changeset because there were other big problems unrelated to your cset (http://hg.savannah.gnu.org/hgweb/octave/rev/6ebc2ca01c76). Files were not being placed in the destination directory correctly.

Rik <rik5>
Project Administrator
Thu 18 Sep 2014 09:12:00 AM UTC, comment #2:

I submitted a patch that should fix the issue adding wildcard expansion to unpack.m. The other functions are just interfaces and it seems that we don't have to change them.

(file #32130)

Massimiliano Fasi <mfasi>
Sat 13 Sep 2014 01:18:09 AM UTC, comment #1:

Thanks for your bug report. This should probably be supported for all archive-related routines, retitling to reflect that.

Mike Miller <mtmiller>
Project Administrator
Fri 12 Sep 2014 01:24:58 PM UTC, original submission:

Matlab-Example using wildcard (taken from Matlab R2011b):
% gunzip all *.gz files in the current directory
gunzip('*.gz');

Octave-Example:
gunzip('af_*.gz')

error: unpack: unarchiving program exited with status: 127
gzip: C:\Users\res1dr\AppData\Local\Temp\af_*.gz: No such file or directory

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #32130:  bugfix_43211.patch added by mfasi (2KiB - text/x-diff)

 

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 mfasi (Updated the item)
  • -unavailable- added by mtmiller (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 07 Oct 2014 08:15:44 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 18 Sep 2014 09:12:00 AM UTCmfasiAttached File-=>Added bugfix_43211.patch, #32130
    Sat 13 Sep 2014 01:18:09 AM UTCmtmillerStatusNone=>Confirmed
      Operating SystemMicrosoft Windows=>Any
      Summarygunzip / upack does not accept wildcard *=>gunzip, bunzip2, unpack, untar, unzip do not accept wildcard *

    Back to the top


    Powered by Savane 3.1-cleanup1