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

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

[Octave-bug-tracker] [bug #46002] After, LIST = ls (...) each row of LI


From: Rik
Subject: [Octave-bug-tracker] [bug #46002] After, LIST = ls (...) each row of LIST is an output row, not a filename
Date: Fri, 09 Oct 2015 23:47:31 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)

Follow-up Comment #3, bug #46002 (project octave):

It looks like if we really want to be Matlab compatible then we should just be
returning the bare output of the system() call.  See
http://www.mathworks.com/help/matlab/ref/ls.html.  In particular


Output Arguments

list

    On UNIX® platforms, list is a character row vector of names separated by
tab and space characters.

    On Microsoft® Windows® platforms, list is an m-by-n character array of
names—m is the number of names and n is the number of characters in the
longest name. MATLAB® pads names shorter than n characters with space
characters.


But that just seems stupid.  I think I like your patch.  I will look at
pushing it this weekend.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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