[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45976] ctime and asctime add a trailing newli
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #45976] ctime and asctime add a trailing newline character to the return value |
Date: |
Sun, 20 Sep 2015 07:19:34 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0 |
Follow-up Comment #4, bug #45976 (project octave):
As a user, I'd like to see
ctime (time ())
=> "Sun Sep 20 08:54:28 2015n"
being displayed with the double quotes when I invoke e.g. help ctime, or doc
ctime.
The meaning of backslash-n is clear enough to me as a casual octave user, even
though I was not aware of the exact difference between single-quoted vs.
double-quoted strings regarding escape sequences before reporting this issue.
Now how that backslash might need to be escaped in the source to be displayed
correctly in the output of help / doc is something I do not know.
T Herzke
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45976>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/