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

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

[Octave-bug-tracker] [bug #63556] error() function shows traceback messa


From: Rik
Subject: [Octave-bug-tracker] [bug #63556] error() function shows traceback messages when error message end with newline in special cases
Date: Thu, 22 Dec 2022 23:40:53 -0500 (EST)

Update of bug #63556 (project octave):

                  Status:          Ready For Test => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #6:

Confirming, Octave needs to stay Matlab-compatible and Matlab also does not
interpret escape characters such as '\n' when there is only a single string.

For example, in Matlab


error ('abc\ndef\nghi\n')
abc\ndef\nghi\n


while in Octave the string "error: " is prepended


error ('abc\ndef\nghi\n')
error: abc\ndef\nghi\n


Marking bug as fixed (with Markus's change to the documentatino) and closing
report.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63556>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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