[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33208] Texinfo requires no spaces in the begi
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #33208] Texinfo requires no spaces in the beginning of lines |
Date: |
Sat, 07 May 2011 14:49:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100721 Iceweasel/3.5.11 (like Firefox/3.5.11) |
Follow-up Comment #5, bug #33208 (project octave):
We only have to worry about different line endings (CR, CRLF, LF) because we
try to be compatible with Matlab which allows files with the incorrect line
endings (for example, someone transfers a file with CRLF to a Unixy system but
doesn't convert the line endings as they should have). I would much prefer to
just tell people that they should translate their files as that would simplify
things for us, but...
In any case, the get_help_text function ultimately works by calling the parser
to read the file, and it already should be doing the CR or CRLF -> LF
translation, so you should be OK looking only fr LF. You can test this
assumption by creating files that use CR only or CRLF in addition to LF on a
Unixy system, or LF or CR only on a Windowsy system, or CRLF or LF only on an
Fruity (specifically Apple) system. All should give you a doc string with LF
for the line ending. Internally, that's all Octave should have to work with.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33208>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/