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

[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: Philip Nienhuis
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 19:06:57 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38

Follow-up Comment #6, bug #47609 (project octave):

As far as my experience with MSYS/mingw goes, yes this wildcard "issue"
(idiosyncrasy) is valid for all utilities. So probably unpack / gzip / glob /
dir could also use relevant information in the texinfo header. See below for
dir and glob:

>> numel (dir ("*.*"))
ans =  104
>> numel (dir ("*"))
ans =  124
>> numel (glob ("*.*"))
ans =  104
>> numel (glob ("*"))
ans =  122  ## glob() doesn't catch "." and ".." so 2 less than dir()


ls seems not affected:

>> ls *
 Volume in drive C has no label.
 Volume Serial Number is 5E8A-7D68

 Directory of C:\Users\philip\MyDocs\octave
:
             105 File(s)     29 146 282 bytes
              19 Dir(s)  88 849 948 672 bytes free

-and-

>> ls *.*
:
             105 File(s)     29 146 282 bytes
              19 Dir(s)  88 849 948 672 bytes free


But then one gets the question whether this should be mentioned in those
texinfo headers, or in a more general place in the manual (with more chance of
being overlooked by users), and/or in the FAQ ?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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