Path: csiph.com!usenet.pasdenom.info!goblin2!goblin3!goblin.stu.neva.ru!newsfeed3.funet.fi!newsfeeds.funet.fi!feeder2.news.elisa.fi!uutiset.elisa.fi!7564ea0f!not-for-mail From: Jukka Lahtinen Newsgroups: comp.lang.java.programmer Subject: Re: BlueJ Coding Help Organization: N/A References: <87e3fd5b-cd93-4c50-bef4-05d9cf49ab0f@googlegroups.com> X-no-archive: yes Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:lGuDEm/Y9JDnBOyi0GmyfwnjrNw= MIME-Version: 1.0 Content-Type: text/plain Lines: 21 Date: Sun, 01 Sep 2013 12:05:42 +0300 NNTP-Posting-Host: 91.155.88.191 X-Complaints-To: newsmaster@saunalahti.com X-Trace: uutiset.elisa.fi 1378026342 91.155.88.191 (Sun, 01 Sep 2013 12:05:42 EEST) NNTP-Posting-Date: Sun, 01 Sep 2013 12:05:42 EEST Xref: csiph.com comp.lang.java.programmer:25190 Daniele Futtorovic writes: > On 2013-08-31 17:30, Jukka Lahtinen allegedly wrote: >> ram@zedat.fu-berlin.de (Stefan Ram) writes: >>> Jukka Lahtinen writes: >>>> The method System.out.println always adds a linefeed >>>> at the end of the >>>> output, and you add one yourself with the \n. >>> "\n" might not be the system's line separator. >> True, but is there a system where it doesn't cause a linefeed? > Macintoshes, pre-OS X if I'm not mistaken, used \r (carriage return) as > the line separator. I thought they use LF and CR (in that order, opposite to the DOS world), not only the CR. I never used them myself, don't they do anything with just a LF that doesn't come with CR? -- Jukka Lahtinen