From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Samuel Subject: Re: [Fwd: Re: ctrl-M] Date: Thu, 28 Aug 2003 22:12:02 -0700 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3F4EE0A2.4030600@bcgreen.com> References: <5.1.0.14.0.20030827225534.050f3eb0@217.116.160.18> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5.1.0.14.0.20030827225534.050f3eb0@217.116.160.18> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: freddie Cc: Shawn Ashlee , linux-admin@vger.kernel.org freddie wrote: > the \r is your culprit. that creates a ctrl-m. \n doesnt. im going to > assume \r is CR/LF and \n is just LF... \r will simply generate a ctrl-m ... wherever in the line it is. If you put it at the end of a line, the implicit \n will get printed after it (resulting in the well-known cr/lf pair. \n will generate an extra LF, but it's not necessary at the end of a line, because it's implicitly there already. -- Stephen Samuel +1(604)876-0426 samuel@bcgreen.com http://www.bcgreen.com/~samuel/ Powerful committed communication. Transformation touching the jewel within each person and bring it to life.