help-octave
[Top][All Lists]
Advanced

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

Weird Linefeed in directory listing


From: Dave.Haddon
Subject: Weird Linefeed in directory listing
Date: Sat, 29 Mar 2008 21:57:46 +1000

Help....

I think I may have a bug but I'm not convinced yet...

I need to store the contents of a directory into a variable as such...

--------------
>> ls
file123  file134  file156  file167  file178  file201  file202  otherfile
>> ls file1*
file123  file134  file156  file167  file178
>> filelist=ls file1*
filelist = file123  file134  file156  file167  file178
--------------

Now this works because there are no 's' characters... however, after changing 
each fileXXX to filesXXX... this happens

--------------
>> ls
files123  files156  files178  files202
files134  files167  files201  otherfiles
>> ls files1*
files123  files134  files156  files167  files178
>> filelist=ls files1*
filelist =

file     
123  file
134  file
156  file
167     file 
178
     
------------------------

Now.. whoever took my 's' characters.. please give them back....

If someone else could please try this I would like to know if it is just my 
problem....

I have only noticed the problem with the 's' character

I am using octave 3.0.0, and tried both in normal shell, qtoctave and koctave.. 
all the same..

Any help/advice/'smacks on back of head for being an octave newbie' 
appreciated...

David



reply via email to

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