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

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

[Octave-bug-tracker] [bug #34038] deblank does not work on indexed cells


From: Rik
Subject: [Octave-bug-tracker] [bug #34038] deblank does not work on indexed cells
Date: Mon, 22 Aug 2011 04:53:58 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

Follow-up Comment #3, bug #34038 (project octave):

The Octave docstring is old and seems to have been written when there was not
much distinction between a cell and a cell array of strings.  

The deblank() documentation for ML
(http://www.mathworks.com/help/techdoc/ref/deblank.html) is much clearer.  It
specifies only two calling forms.  One for character arrays and one for
cellstrs.


c = deblank(c) when c is a cell array of strings, applies deblank to each
element of c.


I've added a changeset which clarifies that cell arrays of strings, not cells
alone, are the desired input.  I also added notes to the NEWS file since a
number of the functions in the strings directory have been reworked. 
http://hg.savannah.gnu.org/hgweb/octave/rev/4ec4096f65d1


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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