This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bash CR and backquotes trouble
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Eric Blake on 11/7/2006 6:35 AM:
>
> Have you tried the experimental bash-3.2.3-5, and exporting SHELLOPTS in
> your environment with igncr specified? Within bash, SHELLOPTS is
> read-only, but reflects the current shell option settings, so you merely
> need export it so that it is in the environment instead of a shell local
> variable.
A slight clarification: once in bash, the read-only SHELLOPTS only tracks
actions involving 'set -o', it does not track actions involving 'shopt -s'
or other back doors to affecting shell options. I noticed this with the
'history' shell option as well as the 'igncr' shell option, so it is not
cygwin-specific; however, I'm not sure whether to call it a bug or a
feature in upstream handling of how SHELLOPTS is handled.
- --
Life is short - so eat dessert first!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFUI/B84KuGfSFAYARAqQaAKChNj3N5JuLbzXmSZnGZxZZ6gAMAACfRb1D
xvw6gVJgIMvzMdeqC/6ljh8=
=UEwu
-----END PGP SIGNATURE-----
--
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/