what character is a physical newline

Aryeh M. Friedman aryeh.friedman at gmail.com
Mon Jun 29 02:39:41 UTC 2009


Glen Barber wrote:
> On Sun, Jun 28, 2009 at 10:27 PM, Aryeh M.
> Friedman<aryeh.friedman at gmail.com> wrote:
>   
>>> What do you mean exactly?  What language(s)?  If I understand your
>>> question correctly, the C / C++ / Java / PHP (and I think Perl)
>>> 'newline' character is '\n'
>>>
>>>
>>>       
>> I meant what ascii character does \n actual correspond to (I assume <CR> but
>> just making sure)
>>
>>     
>
> Oh.  IIRC, CR is the DOS way, and LR is the POSIX way.
>
>   
Don't you mean LF not LR?


More information about the freebsd-questions mailing list