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

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

[Octave-bug-tracker] [bug #52479] textscan ignores leading spaces when c


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #52479] textscan ignores leading spaces when creating cell from string/file
Date: Wed, 22 Nov 2017 13:52:40 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Follow-up Comment #1, bug #52479 (project octave):

Confirmed on dev octave.

The following may be a clue:

>> textscan(a, '%s', 'delimiter', "\t", "whitespace", "")
ans =
{
  [1,1] =
  {
    [1,1] =
    [2,1] =
    [3,1] = a
    [4,1] = b
    [5,1] = c
  }

}


...so this may have to do with the default whitespace / delimiter collection.

ISTR to have mentioned this (= default whitespace/delimiter) earlier on in
another bug report about textscan in Octave >= 4.2.x


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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