X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Matthew Woehlke <mwoehlke@tibco.com>
Subject:  Re: igncr vs text mode mounts, performance vs compatibility
Date:  Thu, 26 Oct 2006 10:39:18 -0500
Lines: 19
Message-ID: <ehqkr7$dee$1@sea.gmane.org>
References:  <1160655422743.antti.nospam.1605718.wGO_WJ9D1NlId3tB-z6Qig@luukku.com> <20061012123406.GA30908@trixie.casa.cgf.cx> <452EA386.9010201@qualcomm.com> <20061012212011.GA8535@trixie.casa.cgf.cx> <452EFDDB.1010301@qualcomm.com> <452F8719.9060300@cygwin.com> <4536BC88.3030003@qualcomm.com> <4536C922.4090807@qualcomm.com> <45376CBF.1030104@byu.net> <loom.20061024T205240-509@post.gmane.org> <453EA9C1.8060402@byu.net> <loom.20061025T210057-749@post.gmane.org> <45401C68.7080706@byu.net>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.0
In-Reply-To: <45401C68.7080706@byu.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Eric Blake wrote:
> There is also the possibility of making bash turn igncr on by default, but
> /bin/sh leaving it off, since only /bin/sh is specified by POSIX; but that
> also gives me the willies thinking about people who will complain why
> their script doesn't work when they change from #!/bin/bash to #!/bin/sh.

With all due respect, /bin/sh is meant to be POSIX-conforming, and IMO 
should force igncr to be off. IOW such people deserve what they get. :-)

The other side of this argument is 'why did you switch to #!/bin/sh?'. 
Chance are it was done to make a script "more portable", and as we of 
course know '\r' line endings are *not* portable.

Not that I'm trying to convince you of anything, just trying to help you 
feel better if you decide to make this decision. :-)

-- 
Matthew
$ kill bill - kill: can't find process "bill"


--
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/

