X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References:  <mn.635b7d74b87e067a.51129@pbs.org>
Subject: RE: Newlines in cygwin help please...
Date: Thu, 12 Apr 2007 19:29:32 +0100
Message-ID: <01a001c77d30$83f19ba0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="ISO-8859-15"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To:  <mn.635b7d74b87e067a.51129@pbs.org>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 12 April 2007 19:19, Kevin Markle wrote:

> Hello,
> I'm sending text to a files via echo on 5 different lines in a shell
> script | using u2d command to convert it to a dos format and then
> sending it to my email. The text comes out as on big stream instead of
> each echo "Text us here" going on its own line? Is there a way to get
> each line to start from the far left as a newline?
> 
> Any ideas would be great!

  Yes, the bug is on line 17 of your script.

  Alternatively, if psychic debugging doesn't fix it, perhaps you'd care to
give us just the /slightest/ clue about what you're /actually/ doing, such as
a testcase or example script that shows the problem?  What you're trying ought
to work, give-or-take, so you've probably misimplemented it in some way.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

