delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/12/14:30:22

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <mn DOT 635b7d74b87e067a DOT 51129 AT pbs DOT 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
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <mn.635b7d74b87e067a.51129@pbs.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019