Re: SHELLOPTS=igncr and bash --posix

2011-12-30 Thread Andrey Repin
Greetings, cygwin at sipxx.com! > SHELLOPTS is a read-only variable, you are not supposed to set it in bash. > No reason to look for bugs when you are using it incorrectly. Judging from the fact you're top-posting, You didn't read his post, it seems. -- WBR, Andrey Repin (anrdae...@freemail.ru)

Re: SHELLOPTS=igncr and bash --posix

2011-12-30 Thread cygwin at sipxx.com
SHELLOPTS is a read-only variable, you are not supposed to set it in bash. No reason to look for bugs when you are using it incorrectly. Dave Korn wrote: On 30/12/2011 12:41, Rafael Kitover wrote: On 12/30/2011 1:06 AM, Dave Korn wrote: On 29/12/2011 21:40, Rafael Kitover wrote:

Re: SHELLOPTS=igncr and bash --posix

2011-12-30 Thread Dave Korn
On 30/12/2011 12:41, Rafael Kitover wrote: > On 12/30/2011 1:06 AM, Dave Korn wrote: >> On 29/12/2011 21:40, Rafael Kitover wrote: >>> 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

Re: SHELLOPTS=igncr and bash --posix

2011-12-30 Thread Rafael Kitover
On 12/30/2011 1:06 AM, Dave Korn wrote: > On 29/12/2011 21:40, Rafael Kitover wrote: >> 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 >>

Re: SHELLOPTS=igncr and bash --posix

2011-12-29 Thread Dave Korn
On 29/12/2011 21:40, Rafael Kitover wrote: > 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 > ba