Re: shopt igncr not working

2006-10-18 Thread Rob Walker
Larry Hall (Cygwin) wrote: On 10/12/2006, Rob Walker wrote: If you're referring to the performance gain realized, I think it could have been accomplished (if not as trivially) without breaking CRLF handling. This seems to be indicated in other posts, ones that talk about reworking line parsin

Re: shopt igncr not working

2006-10-13 Thread Rob Walker
Matthew Woehlke wrote: http://cygwin.com/acronyms/#PPIOSPE, thanks! Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Many, many other cross-platform products make allowances for CRLF (version control systems are a prime example) to maximize

Re: shopt igncr not working

2006-10-13 Thread Igor Peshansky
On Fri, 13 Oct 2006, Matthew Woehlke wrote: > http://cygwin.com/acronyms/#PPIOSPE, thanks! > > Rob Walker wrote: > > Matthew Woehlke wrote: > > > Rob Walker wrote: > > > > Matthew Woehlke wrote: > > > > > Rob Walker wrote: > > > > > > Many, many other cross-platform products make allowances for CR

Re: shopt igncr not working

2006-10-13 Thread Matthew Woehlke
http://cygwin.com/acronyms/#PPIOSPE, thanks! Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Many, many other cross-platform products make allowances for CRLF (version control systems are a prime example) to maximize compatibility, and the

Re: shopt igncr not working

2006-10-13 Thread Matthew Woehlke
Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Saying cygwin's bash wasn't designed to handle CRLF is a lot like saying that cygwin's bash (as previously released all these years) wasn't designed to work with the rest of Windows. This might actually be the case, but I don't under

Re: shopt igncr not working

2006-10-13 Thread Larry Hall (Cygwin)
On 10/12/2006, Rob Walker wrote: If you're referring to the performance gain realized, I think it could have been accomplished (if not as trivially) without breaking CRLF handling. This seems to be indicated in other posts, ones that talk about reworking line parsing. I believe the response

Re: shopt igncr not working

2006-10-12 Thread Rob Walker
Matthew Woehlke wrote: Rob Walker wrote: Christopher Faylor wrote: On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: Hi! Installed latest cygwin and I met problems with bash and scripts which are in DOS format. $ bash --version GNU bash, version 3.1.17(9)-release (i686-pc-

Re: shopt igncr not working

2006-10-12 Thread Christopher Faylor
On Thu, Oct 12, 2006 at 07:45:47PM -0700, Rob Walker wrote: >Christopher Faylor wrote: >>On Thu, Oct 12, 2006 at 01:20:22PM -0700, Rob Walker wrote: >>>Christopher Faylor wrote: On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: >Installed latest cygwin and I met problems with

Re: shopt igncr not working

2006-10-12 Thread Rob Walker
Christopher Faylor wrote: On Thu, Oct 12, 2006 at 01:20:22PM -0700, Rob Walker wrote: Christopher Faylor wrote: On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: Hi! Installed latest cygwin and I met problems with bash and scripts which are in DOS format. $

Re: shopt igncr not working

2006-10-12 Thread Brian Dessent
*sigh* "Daniel P. Kionka" wrote: > I cannot track down every > bash script and add "shopt -s igncr", and no one should ever have to. Of course not. That is a silly way to deal with the issue. One of the points of this whole conflagration is to get people to realize that if they are dealing wit

Re: shopt igncr not working

2006-10-12 Thread Matthew Woehlke
Rob Walker wrote: Christopher Faylor wrote: On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: Hi! Installed latest cygwin and I met problems with bash and scripts which are in DOS format. $ bash --version GNU bash, version 3.1.17(9)-release (i686-pc-cygwin) Copyright (C) 20

Re: shopt igncr not working

2006-10-12 Thread Christopher Faylor
On Thu, Oct 12, 2006 at 01:20:22PM -0700, Rob Walker wrote: >Christopher Faylor wrote: >>On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: >> >>>Hi! >>> >>>Installed latest cygwin and I met problems with bash and scripts which >>>are in DOS format. >>> >>>$ bash --version >>>GNU b

Re: shopt igncr not working

2006-10-12 Thread Daniel P. Kionka
I was writing a similar email when I got Rob's... I was surprised when all my bash scripts failed after I upgraded (because of the CR/LF change). One of the most important rules of a stable product is backwards compatibility. I cannot track down every bash script and add "shopt -s igncr", an

Re: shopt igncr not working

2006-10-12 Thread Rob Walker
Christopher Faylor wrote: On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: Hi! Installed latest cygwin and I met problems with bash and scripts which are in DOS format. $ bash --version GNU bash, version 3.1.17(9)-release (i686-pc-cygwin) Copyright (C) 2005 Free Software Fo

Re: shopt igncr not working

2006-10-12 Thread Christopher Faylor
On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: >Hi! > >Installed latest cygwin and I met problems with bash and scripts which are in >DOS format. > >$ bash --version >GNU bash, version 3.1.17(9)-release (i686-pc-cygwin) >Copyright (C) 2005 Free Software Foundation, Inc. > >I read

Re: shopt igncr not working

2006-10-12 Thread Antti Tyrväinen
Hi! Installed latest cygwin and I met problems with bash and scripts which are in DOS format. $ bash --version GNU bash, version 3.1.17(9)-release (i686-pc-cygwin) Copyright (C) 2005 Free Software Foundation, Inc. I read the mailing lists and I also tried to add ' shopt -s igncr;#' in the begi

Re: shopt igncr not working

2006-10-04 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Frank Illenseer on 10/4/2006 2:24 AM: > > 3) When trying the option of including the shopt line in my > .bash_profile I first opened a >bash login shell (which indeed executes the .bash_profile) and > in-there then ran the script >

RE: shopt igncr not working

2006-10-04 Thread Frank Illenseer
Hi Kazuyuki, thanks for pointing this oiut, but 1) bash version is correct, i.e. GNU bash, version 3.1.17(9)-release (i686-pc-cygwin) as recommended 2) I indeed applied the comment character "#" at the end when using as the first line of the shell script 3) When trying the optio

RE: shopt igncr not working

2006-10-04 Thread Kazuyuki Hagiwara
Hi Frank, all the three methods work fine here. some points ... Is the bash version right? [~/work] bash --version GNU bash, version 3.1.17(9)-release (i686-pc-cygwin) Copyright (C) 2005 Free Software Foundation, Inc. [~/work] ) - first line of the shell script # is required In the shopt line