delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/11/20:49:50

From: doug AT webcriteria DOT com (Doug Carter)
Subject: sed question
11 Jan 1999 20:49:50 -0800 :
Message-ID: <369A2BFC.C2EC3451.cygnus.gnu-win32@WebCriteria.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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?

TIA,

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