delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/09/15:41:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <20020909194116.95155.qmail@web20004.mail.yahoo.com>
Date: Mon, 9 Sep 2002 12:41:16 -0700 (PDT)
From: Joshua Daniel Franklin <joshuadfranklin AT yahoo DOT com>
Subject: Re: Gawk cr/lf problem
To: pietp DOT pexy AT megawan DOT net, cygwin AT cygwin DOT com
MIME-Version: 1.0

> But - ALL my program-files created with DOS type editors
> and ending in CR/LF now give problems.
> gawk comes back with error 'invalid char' for each ^M.
> I have to manually remove the CR at the end of each line to get it to work.

...

> Am I missing something? 

Yes. dos2unix from the cygutils package. 
It will automatically convert your old files for you. 

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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