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

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

[Octave-bug-tracker] [bug #54661] textscan() continues from next line if


From: Juan Pablo Carbajal
Subject: [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter
Date: Mon, 3 Jun 2019 15:47:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0

Follow-up Comment #11, bug #54661 (project octave):

What is the status of this bug?
It is still there in 6.0.0 (30f53f7a7293)

The two commands below produce the same output they shouldn't.

> c = textscan("0.0;w;x\n2.0;;b\n", "%f;%s;%s",'Delimiter',';',
'MultipleDelimsAsOne', false)
> c = textscan("0.0;w;x\n2.0;b;\n", "%f;%s;%s",'Delimiter',';',
'MultipleDelimsAsOne', false)


The output I get for both commands is

c =
{
  [1,1] =

     0
     2

  [1,2] =
  {
    [1,1] = w
    [2,1] = b
  }

  [1,3] =
  {
    [1,1] = x
    [2,1] = 
  }

}


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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