delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/26/10:38:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37C550BB.31D6C376@geekspace.com>
Date: Thu, 26 Aug 1999 10:35:39 -0400
From: Joshua Rosen <rozzin AT geekspace DOT com>
Organization: GEEKS
X-Mailer: Mozilla 4.61 [en] (WinNT; U)
X-Accept-Language: en,ja,no
MIME-Version: 1.0
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: MS-DOS CR/LF compatibility in $() and ``?
References: <19990826121058 DOT 23046 DOT rocketmail AT web113 DOT yahoomail DOT com>

Earnie Boyd wrote:
> 
> --- Pontus Lidman <pontus AT mathcore DOT com> wrote:
> > It seems that when the output of a command contains MS-DOS newlines
> > (CR+LF), these are not stripped from the end of the output when command
> > substitution is done.
> 
[...]
> If I'm correct, then you'll need
> to filter the file to remove the \r just as you would on any UNIX environment

ie: run it through `tr'.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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