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

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

[Octave-bug-tracker] [bug #44745] single quoted string in sprintf is int


From: Rik
Subject: [Octave-bug-tracker] [bug #44745] single quoted string in sprintf is interpreted
Date: Mon, 06 Apr 2015 18:14:18 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

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

Coming from a UNIX shell programming environment I hate this as well.  Matlab,
however, only has the single quote character for all strings.  So for Matlab
compatability, Octave expands escape sequences like "\n" or "\t"--even within
single quotes--if the function is sprintf, printf, regexp, regexprep, and
probably scanf too.

Can you suggest a documentation change that would be clear about this?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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