|
| From: | John W. Eaton |
| Subject: | [Octave-bug-tracker] [bug #33611] Matlab-incompatible character string escape processing |
| Date: | Tue, 21 Jun 2011 15:10:04 +0000 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110430 Iceweasel/3.5.19 (like Firefox/3.5.19) |
URL:
<http://savannah.gnu.org/bugs/?33611>
Summary: Matlab-incompatible character string escape
processing
Project: GNU Octave
Submitted by: jwe
Submitted on: Tue 21 Jun 2011 03:10:03 PM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Octave processes string escapes in the following context:
octave:6> eval ('disp "foo\xar"')
warning: unrecognized escape sequence `\x' -- converting to `x'
fooxar
This does not happen in Matlab (Matlab only processes string escapes in the
format of a call to *printf). This problem has consequences for command
evaluation on Windows systems where backslash is used as a directory
separator.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33611>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |