Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Date: 	Mon, 29 May 2000 11:59:11 +0300
From: Ville Herva <vherva@niksula.hut.fi>
To: cygwin@sourceware.cygnus.com
Subject: sed and configure scripts
Message-ID: <20000529115911.I115623@niksula.cs.hut.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3i

I must be doing something wrong here. Basicly, it seems like sed would
always intepret its input as binary.

I'm trying to run zsh-3.1.6 configure script. All is fine until configure
does something like

cat > c.sed << EOF
s/ristiina/parkano/g
s/oulu/turku/g
EOF
sed -n -f c.sed < naantali > hollola

Now, c.sed contains dos newlines (0x0d), and sed barfs:

sed: file conftest.frag line 1: Unknown option to 's'

(option 'g^M'...)

my mounts are textmode, but the situation did not change with binary
either. The configure script (the cat > ... and the following lines in
particular) has no ^M's. CYGWIN=binmode is _not_ set.

cygwin1.ddl snapshot 15052000, newest sed from net.

I understand somebody (Earnie?) already compiled zsh? Is there anything
else to watch out? s/__CYGWIN/__CYGWIN__/, but where?

Hmm. I wish the Amol Deshpande's native zsh would work 'right' with
cygwin. Not only, because I can't seem to compile zsh, but the native
zsh has some neat features...


-- v --

v@iki.fi

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

