delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/03/04:53:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
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: <3938C5FB.6A74BDE0@vinschen.de>
Date: Sat, 03 Jun 2000 10:46:51 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Bob McGowan <rmcgowan AT veritas DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: New sed in latest
References: <20000602203057 DOT 18834 DOT qmail AT web115 DOT yahoomail DOT com> <39384BD0 DOT CCD607DA AT veritas DOT com>

Bob McGowan wrote:
> But sed writes to standard output.  So the correct answer (I think) is
> that, to capture the "dos2unix" output, the script would need to be
> redirected to a file.  If the file is in a binary mounted environment,
> then it will be UNIX format, if it is text mounted it would continue to
> be DOS format.
> 
> Is this an accurate analysis?

Indeed. To get rid of the \r you only have to start sed now,
doing nothing but writing it's input to a binary mounted
output file.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
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