[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    Re: igncr vs text mode mounts, performance vs compatibility
From:       Matthew Woehlke <mwoehlke () tibco ! com>
Date:       2006-10-26 15:39:18
Message-ID: ehqkr7$dee$1 () sea ! gmane ! org
[Download RAW message or body]

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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic