delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/13/09:12:20

From: oe AT port DOT de (Heinz-Juergen Oertel)
Subject: Re: sed question
13 Jan 1999 09:12:20 -0800 :
Message-ID: <369B9AF8.1CC62E37.cygnus.gnu-win32@port.de>
References: <369A2BFC DOT C2EC3451 AT WebCriteria DOT com>
Mime-Version: 1.0
To: Doug Carter <doug AT webcriteria DOT com>, gnu-win32 AT cygnus DOT com

Doug Carter wrote:
> 
> I'm having some trouble running a sed script with gun-win32.
> 
> I have a script that converts text files from unix to dos:
> 
> sed 's/$/^M/g' infile > outfile
> 
> This command works fine on unix, but it doesn't work in dos.
> 
> Can anyone enlighten me?
> 
No, but it is simpler to use

tr -d "\r" < infile > outfile

but what is with umlauts ??
Oh i see, it's not your problem.

Anyhow, does anybody ported recode ?


> TIA,
> 
> Doug Carter



-- 
with best regards / mit freundlichen Grüßen

  Heinz-Jürgen Oertel

==========================================
Heinz-Juergen Oertel
port GmbH            phone +49 3493 743-10
Antonienstr. 3       fax   +49 3493 743-15
D-06749 Bitterfeld   mailto:service AT port DOT de
Germany              http://www.port.de
==========================================
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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