|
| From: | Guillaume |
| Subject: | [Octave-bug-tracker] [bug #59065] New line in first argument of 'input' |
| Date: | Fri, 4 Sep 2020 14:07:51 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.gnu.org/bugs/?59065>
Summary: New line in first argument of 'input'
Project: GNU Octave
Submitted by: gyom
Submitted on: Fri 04 Sep 2020 06:07:49 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Guillaume
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
The 'input' function in Matlab evaluates '\n' in its first argument, see:
https://www.mathworks.com/help/matlab/ref/input.html#btt5u2a-2
while Octave displays it unmodified.
I went as far as:
http://hg.savannah.gnu.org/hgweb/octave/file/d150180e41e0/libinterp/corefcn/input.cc#l599
It seems that Matlab only understands '\n' (e.g. not '\t').
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59065>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |