bugGNU Octave - Bugs: bug #42920, ls gives error when using...

 
 

bug #42920: ls gives error when using directories with a space (' ').

Submitted by:  Matthias Jüschke <maju>
Submitted on:  Tue 05 Aug 2014 08:56:15 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: MajuOpen/Closed: Closed
Release: 3.6.4Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 06 Aug 2014 12:48:28 AM UTC, comment #2:

I see the problem with 'ls', but not with dir. The following works for me:

So a workaround for now is to use dir instead of ls.

I pushed a patch to the stable version of Octave (http://hg.savannah.gnu.org/hgweb/octave/rev/082063dc2165) which will be released as 3.8.2 in the next month or so.

Rik <rik5>
Project Administrator
Tue 05 Aug 2014 11:31:20 PM UTC, comment #1:

system('ls -l "with space"')

John Donoghue <lostbard>
Project Member
Tue 05 Aug 2014 08:56:15 PM UTC, original submission:

in the Shell I get

And in octave it does not work:

Matthias Jüschke <maju>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by maju (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 06 Aug 2014 12:48:28 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Summaryls/dir give error when using directories with a space (\' \').=>ls gives error when using directories with a space (' ').

    Back to the top


    Powered by Savane 3.1-cleanup1