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

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

[Octave-bug-tracker] [bug #62282] ls command in 7.1.0 may not function


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #62282] ls command in 7.1.0 may not function
Date: Fri, 22 Apr 2022 15:08:11 -0400 (EDT)

Follow-up Comment #47, bug #62282 (project octave):

For all of us.  

I think I have a better understanding about our ls related discussions now.

We all know that ls is a unix command.  There are a number of -flag go with ls
to show the directory contents.   ls is implemented in both Matlab & Octave. 
Neither of the two fully implement the unix version.  

However the documented  functionalities for ls from Matlab and Octave are
different.  Octave's ls has unique escape sequence specifications that I have
not found them existing elsewhere, given that I don't have any access to
Matlab or a unix machine.  

My read is that someone in the past defined the Octave ls with features
knowing that these features are not necessary compatible with unix or Matlab. 
And these differences are not challenged while many other incompatibilities
are.  Because specifications are different and not compatible, a successful
implementation 
of the specification must result in different software features.  So it is
expected that things work in one software might not work in the other.  If you
have Matlab resources, I expect you will find out most if not all the test
cases we had tried so far  will work in Matlab.      However let me suggest
that we accept that ls is different and move on.  

I have two questions that I would like to get your help.  Do you know if ls is
called internally in Octave?  Do you know if dir is called internally in
Octave? Thanks.  



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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