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

 
 

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

Submitter:  None
Submitted:  Fri 12 Sep 2014 01:24:58 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Stefan Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.2
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group Member
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 Files:
   
   
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
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mfasi (Updated the item)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-07 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2014-09-18 mfasi Attached File- Added bugfix_43211.patch, #32130
    2014-09-13 mtmiller StatusNone 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.13-758e.
    Corresponding source code