delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/16/11:33:40

X-Spam-Check-By: sourceware.org
X-SoftScan-Status: clean (virus: 1/1/1/1, spam: 0, paranoid: 1/1)
MIME-Version: 1.0
Subject: Re: grep -f problem
Date: Mon, 16 Jul 2007 17:33:19 +0200
Message-ID: <8834A84C87A2C148AD46921BB8BFC97C047997FC@S1SE1MAIL.emea1.ad.group>
From: =?iso-8859-1?Q?M=E5rten_Gustafsson?= <Marten DOT Gustafsson AT cision DOT com>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l6GFXSGS016640

Thanks for all replies.

Now I have installed cygwin in unix mode and converted all my script files by running 
dos2unix *.sh. Everything works much better, thanks for all the help.

I got the grep -f problem when running it in dos mode. I actually tried installing in unix mode but
got lots of ": No such file or directory" errors trying to run my scrips, having no idea that it was the
\r in my script files causing this.

Mårten



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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