[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a direc
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows |
Date: |
Sun, 03 Apr 2016 17:26:29 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #5, bug #47609 (project octave):
I agree that it would be better to not "fix" the wildcard automatically but
document it. My main question is, doesn't this affect every command that
accepts wildcards? Such as dir, ls, glob, gzip, zip, unpack?
My point in comment #2 was because I got confused with all the permutations.
Indicating the path separately works because Octave knows how to chdir to that
path and the zip command with argument "*" then succeeds. I thought I had seen
you post an example that worked with a "backslashed\path\*" argument, but I
was wrong. So yes, I agree this seems like a bug with the zip executable that
we should work around as you indicated.
The condition should be
if (ispc () and ! isunix ())
as used elsewhere in scripts.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47609>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Philip Nienhuis, 2016/04/02
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Philip Nienhuis, 2016/04/02
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Mike Miller, 2016/04/03
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Mike Miller, 2016/04/03
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Philip Nienhuis, 2016/04/03
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows,
Mike Miller <=
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Philip Nienhuis, 2016/04/03
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Mike Miller, 2016/04/03
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Philip Nienhuis, 2016/04/04
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Rik, 2016/04/04
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Mike Miller, 2016/04/04
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Philip Nienhuis, 2016/04/04
- [Octave-bug-tracker] [bug #47609] zip.m: errrors when zipping to a directory with spaces in name on Windows, Mike Miller, 2016/04/04