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

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

[Octave-bug-tracker] [bug #47232] zip fails if filename has whitespace


From: Rik
Subject: [Octave-bug-tracker] [bug #47232] zip fails if filename has whitespace
Date: Tue, 23 Feb 2016 19:05:22 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #5, bug #47232 (project octave):

@Andreas: Our comments passed within 30 seconds of each other.

What if you add a call to glob first to expand any wildcards?  This seems to
work.  


cmd = sprintf ('zip -r "%s" %s', zipfile, sprintf (' "%s"', glob
(files){:}));




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47232>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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