For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > June 2004 > 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 CRLF -> LF
Daniel Convissor

2004-06-11, 3:57 pm

Greetings:

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.

This came up because I noticed a file that has CRLF on one line. I feel
this is a (_VERY_ minor) quality issue. I notified the maintainer. Their
replies can be translated to "I don't care" and "leave me alone." (Nice,
eh?)

Thanks,

--Dan

--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
Justin Patrin

2004-06-11, 8:56 pm

Daniel Convissor wrote:

> Greetings:
>
> 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.
>
> This came up because I noticed a file that has CRLF on one line. I feel
> this is a (_VERY_ minor) quality issue. I notified the maintainer. Their
> replies can be translated to "I don't care" and "leave me alone." (Nice,
> eh?)
>
> Thanks,
>
> --Dan
>


I completely agree, especially when the file is inconsistent.

--
paperCrane <Justin Patrin>
Aidan Lister

2004-06-12, 8:55 am

Add it to "pear package"?

I develop on windows, I've no idea how to convert my files to \n only.

"Daniel Convissor" <danielc@analysisandsolutions.com> wrote in message
news:20040611184913.GA12692@panix.com...
> Greetings:
>
> 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.
>
> This came up because I noticed a file that has CRLF on one line. I feel
> this is a (_VERY_ minor) quality issue. I notified the maintainer. Their
> replies can be translated to "I don't care" and "leave me alone." (Nice,
> eh?)
>
> Thanks,
>
> --Dan
>
> --
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> data intensive web and database programming
> http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

Tomas V.V.Cox

2004-06-12, 3:56 pm

Aidan Lister wrote:
> Add it to "pear package"?
>
> I develop on windows, I've no idea how to convert my files to \n only.


Maybe that could help you:

http://marc.theaimsgroup.com/?l=pea...45921607445&w=2


Tomas V.V.Cox
Aidan Lister

2004-06-13, 3:56 am

Cool, Thanks


"Tomas V.V.Cox" <cox@idecnet.com> wrote in message
news:20040612151506.52003.qmail@pb1.pair.com...
> Aidan Lister wrote:
>
> Maybe that could help you:
>
> http://marc.theaimsgroup.com/?l=pea...45921607445&w=2
>
>
> Tomas V.V.Cox

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com