This is the mail archive of the
cygwin
mailing list for the Cygwin project.
SHELLOPTS=igncr and bash --posix
- From: Rafael Kitover <rkitover at cpan dot org>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 29 Dec 2011 16:40:05 -0500
- Subject: SHELLOPTS=igncr and bash --posix
- Reply-to: rkitover at cpan dot org
Some of my bash scripts, particularly ones that are #!/bin/bash --posix
trigger a nasty warning when I have SHELLOPTS=igncr set in my ~/.zshrc:
rkitover@eeebox ~/src/scala % echo $SHELLOPTS
igncr
rkitover@eeebox ~/src/scala % bash --posix
bash: SHELLOPTS: readonly variable
this is rather unsightly so I have turned off SHELLOPTS for now.
Is this a bug? If so, is a fix possible?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple