delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/30/08:36:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Tue, 30 May 2000 15:35:48 +0300
From: Ville Herva <vherva AT niksula DOT hut DOT fi>
To: cygwin AT sourceware DOT cygnus DOT com
Cc: salikhyan DOT shamsutdinov AT intel DOT com
Subject: Re: Problems with sed, make and NT4 in general
Message-ID: <20000530153547.M115623@niksula.cs.hut.fi>
References: <39339BA8 DOT DCFCCBD9 AT ubsw DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 1.0pre3i
In-Reply-To: <39339BA8.DCFCCBD9@ubsw.com>

On Tue, May 30, 2000 at 12:44:56PM +0200, you [Simon Sparkes] claimed:
> 2. sed -f file always reports errors on commands but the same commands
> work fine on the command line.
>    Command Example: s/abc/def/ fails in a file with the error "sed: file
> file line 1 Unknown option to 's'" but is the same command is fine on
> the command line. e.g. sed -e 's/abc/def/'

That's because sed uses mmap for reading the supplied by -f. With mmap,
cygwin does not do the CR/LF conversion (AFAIK). So sed sees option '^M'
for s// and barfs.

I think I could make a patch for that... 

> 3. The NT4 version seems to have significant delays starting any cygwin
> based program, but not Windows 2000

Make sure you don't have any network drives in your path or anything like
that.

> This message contains confidential information and is intended only 
> for the individual named.  

Sendmail is for mail, named is for dns.


-- v --

v AT iki DOT fi

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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