what character is a physical newline

Glen Barber glen.j.barber at gmail.com
Mon Jun 29 02:26:21 UTC 2009


On Sun, Jun 28, 2009 at 10:21 PM, Aryeh M.
Friedman<aryeh.friedman at gmail.com> wrote:
> I am writting a parser (tokenizes all characters among other things) and
> need to know what control char is equivelent to a newline (I do not need
> windows cross compatibility)

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'

-- 
Glen Barber


More information about the freebsd-questions mailing list