Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2009 22:26:18 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: what character is a physical newline
Message-ID:  <4ad871310906281926i54fdac53u1d4681c8060e4d36@mail.gmail.com>
In-Reply-To: <4A48252C.1090808@gmail.com>
References:  <4A48252C.1090808@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 28, 2009 at 10:21 PM, Aryeh M.
Friedman<aryeh.friedman@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310906281926i54fdac53u1d4681c8060e4d36>