shopt igncr not working

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Thu Oct 12 12:34:00 GMT 2006


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 the mailing lists and I also tried to add ' shopt -s igncr;#' in the beginning of the script, but it didn't work.  In my opinion, this is bad solution if I have to edit all my existing scripts.
>
>All works fine with bash 3.1.6.
>
>What I should do?
>
>a) install bash 3.1.6 and wait for new
>b) install bash 3.1.9. and convert all my scripts to UNIX format

b), i.e., use the tool the way it was designed to be used.

cgf

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



More information about the Cygwin mailing list