octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55102] gunzip/bunzip2 error with cell array o


From: Guillaume
Subject: [Octave-bug-tracker] [bug #55102] gunzip/bunzip2 error with cell array of strings input
Date: Tue, 27 Nov 2018 05:34:11 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #2, bug #55102 (project octave):

Thanks Rik; files get unpacked separately:


>> flist = gunzip ({'./atst/a.tar.gz', './btst/b.tar.gz'})

flist =

  1x2 cell array

    {'atst/a.tar'}    {'btst/b.tar'}


One option would be to remove lines:


  if (isempty (dir))
    dir = fileparts (gzfile);
  endif


in gunzip/bunzip2 and allow unpack to have input argument dir equal to [], in
which case one output directory per file would be used in the subsequent
for-loop.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55102>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]