www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/15/11:25:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4B79755D.1030403@byu.net>
Date: Mon, 15 Feb 2010 09:25:01 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, pdcy AT gmx DOT com
Subject: Re: 1.7.1-1: sh.exe dos-style problem
References: <20100215161440 DOT 11870 AT gmx DOT net>
In-Reply-To: <20100215161440.11870@gmx.net>
X-IsSubscribed: yes
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

--------------enigB52DAB73857EB4A35243264A
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

According to pdcy AT gmx DOT com on 2/15/2010 9:14 AM:
> Hallo all,
> Is it possible to make sh.exe process dos-style files (line break: 0x0D 0=
x0A) correctly?

It depends on what you mean by correctly.  The default behavior IS correct
in my opinion, as it is identical to Linux behavior.  But re-read the
release announcement for alternative ways to explicitly request that bash
ignore carriage returns, such as 'shopt -s igncr'.

http://sourceware.org/ml/cygwin-announce/2009-07/msg00002.html

--=20
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net


--------------enigB52DAB73857EB4A35243264A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt5dV8ACgkQ84KuGfSFAYDdgACfauuIZWZDLhf3l4OgKtNDNU5m
OAoAn2OyBXKPE8qoXEdXMzkxIi3nw6Mf
=VwhR
-----END PGP SIGNATURE-----

--------------enigB52DAB73857EB4A35243264A--

- Raw text -


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