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

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

[Octave-bug-tracker] [bug #43206] gunzip deletes source files


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #43206] gunzip deletes source files
Date: Sun, 5 Sep 2021 16:06:03 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #16, bug #43206 (project octave):

Before my change, unpack.m was matching the output from gzip with


files = regexprep (output, '^.+ -- replaced with (.*)$', '$1');


I changed that to


files = regexprep (output, '^.+ -- created (.*)$', '$1');


because that's what gzip printed when I used the -k option.  I didn't think it
was necessary to use


files = regexprep (output, '^.+ -- (created|replaced with) (.*)$', '$2');


to match either the old or new output.  But I also expected gzip to fail if we
tried to use -k and it wasn't supported.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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