From owner-freebsd-questions@FreeBSD.ORG Mon Jun 29 02:39:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9712A1065673 for ; Mon, 29 Jun 2009 02:39:40 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-qy0-f186.google.com (mail-qy0-f186.google.com [209.85.221.186]) by mx1.freebsd.org (Postfix) with ESMTP id 486C78FC0A for ; Mon, 29 Jun 2009 02:39:40 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by qyk16 with SMTP id 16so4143465qyk.3 for ; Sun, 28 Jun 2009 19:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=2teYiPvbF02pdBaTzDZDS/TeRGnBrSQDg4NDTg0ngbo=; b=K8QwZQVr0xee/gp0MrMDFw7UwzEqKPFPUfEpAT9tizsOSvtmxTuwuj9wkMiYzpGo8k ParQpsG2vO+FSasCmYFptlh+AoKumv4LiiqZSKwQOQ2DG9EYlSmavLpExWu9xqaTSHtT j3muUVYUvFLnQns4UpCmd+HCFoeVkaJB7QWsI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=saho4E2t8Nb0EAXflj8WvTqU6PjU+1xjBLc0X1sMz0mZq7rVyTyePD6DdX7Rxearny 1KUbezpxYYZfxy6GJGcO97O19OOm8gCdhrnrR29MaC2IeA1BwCLvGCvAtH2hFmL3w4tq xyql2uiBg6cPd9QrUsKovPwybUdLPoeSQHz8k= Received: by 10.224.45.78 with SMTP id d14mr5163105qaf.305.1246243179656; Sun, 28 Jun 2009 19:39:39 -0700 (PDT) Received: from aryeh-desktop.istudentunion.com (ool-44c0cd7a.dyn.optonline.net [68.192.205.122]) by mx.google.com with ESMTPS id 2sm12681180qwi.33.2009.06.28.19.39.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Jun 2009 19:39:39 -0700 (PDT) Message-ID: <4A48296D.5050701@gmail.com> Date: Sun, 28 Jun 2009 22:39:41 -0400 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.22 (X11/20090626) MIME-Version: 1.0 To: Glen Barber References: <4A48252C.1090808@gmail.com> <4ad871310906281926i54fdac53u1d4681c8060e4d36@mail.gmail.com> <4A4826A5.6020506@gmail.com> <4ad871310906281930k644b5d5fnf448decf8e489c4c@mail.gmail.com> In-Reply-To: <4ad871310906281930k644b5d5fnf448decf8e489c4c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: what character is a physical newline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 02:39:41 -0000 Glen Barber wrote: > On Sun, Jun 28, 2009 at 10:27 PM, Aryeh M. > Friedman 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 but >> just making sure) >> >> > > Oh. IIRC, CR is the DOS way, and LR is the POSIX way. > > Don't you mean LF not LR?