Home > Archive > PHP PEAR Questions and Answers > June 2004 > Re: [PEAR-QA] CRLF -> LF
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PEAR-QA] CRLF -> LF
|
|
| Stefan Ohrmann 2004-06-13, 8:55 am |
| Hello,
Am 11.06.2004 20:49 schrieb Daniel Convissor:
> The _implicit_ PEAR standard is to use Unix file format, meaning lines end
> with LF. I'd like to suggest codifying this by adding a short passage in
> the Coding Standards section of the manual.
Is there any security issue coupled to this subject. I think as long as
the PHP interpreter make the right code from this files there should no
forcing of a special Lineend style. I don't think that in unix aren't
any editors, that can't handle windows linefeeds? If there's an
overwhelmiming pro for this, could there a conversion of lineends during
the package building process with PHP_Beautifier?
regards
Stefan
| |
| Tomas V.V.Cox 2004-06-13, 3:57 pm |
| Stefan Ohrmann wrote:
> Is there any security issue coupled to this subject. I think as long as
> the PHP interpreter make the right code from this files there should no
> forcing of a special Lineend style. I don't think that in unix aren't
> any editors, that can't handle windows linefeeds?
The "joe" editor doesn't handle them well, the one I use via ssh and
it's disggusting to find Win EOLs when need to generate a quick patch :)
Anyway we shouldn't put here too much (any?) efforts,
Tomas V.V.Cox
|
|
|
|
|