Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <20020909194116.95155.qmail@web20004.mail.yahoo.com> Date: Mon, 9 Sep 2002 12:41:16 -0700 (PDT) From: Joshua Daniel Franklin Subject: Re: Gawk cr/lf problem To: pietp.pexy@megawan.net, cygwin@cygwin.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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/