Path: csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail From: Mike Frysinger Newsgroups: gnu.bash.bug Subject: Re: updating shopt compat settings to include current version Date: Fri, 16 Oct 2015 15:56:11 -0400 Lines: 49 Approved: bug-bash@gnu.org Message-ID: References: <20151015173433.GS4446@vapier.lan> <561FF051.8000001@case.edu> <20151015192704.GU4446@vapier.lan> <56200730.2060900@case.edu> <20151015213025.GW4446@vapier.lan> <562119D1.5040606@case.edu> <5621414B.3060803@case.edu> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NAuYj0K7Umiq33rm" X-Trace: usenet.stanford.edu 1445025379 14923 208.118.235.17 (16 Oct 2015 19:56:19 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: Chet Ramey Envelope-to: bug-bash@gnu.org Mail-Followup-To: Chet Ramey , bug-bash@gnu.org Content-Disposition: inline In-Reply-To: <5621414B.3060803@case.edu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:470:ea4a:1:5054:ff:fec7:86e4 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11676 --NAuYj0K7Umiq33rm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 16 Oct 2015 14:26, Chet Ramey wrote: > On 10/16/15 11:37 AM, Chet Ramey wrote: > > unset BASH_COMPAT > > shopt -u compat31 compat32 compat40 compat41 > > shopt -s compat42 2>/dev/null || : > >=20 > > to set shell_compatibility_level to 42 on bash versions >=3D bash-4.2. > >=20 > > (this needs the attached patch for bash-4.3 to fix a typo in shopt.def) >=20 > And, of course, you can just add >=20 > BASH_COMPAT=3D42 >=20 > at the end to get around the unpatched bash-4.3 bug. i'm aware of said bug ... Gentoo has included the fix for a long time now -mike --NAuYj0K7Umiq33rm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWIVZbAAoJEEFjO5/oN/WBUzMP/ApvORe3l076WOs8QdkrKEso USySC4UuF26/5IY1X3jUSZCtZj10xNs4Lqg830miggH3UzJOlUluxIqHFnBfgYma zQ1uYmjvj7bTx9sxNfYGtatEtz+vVxZvIGtzelCagDehWSQozzu3lVPCqFOcoAPc ZiuFTA1AV56G8fndiwrQiJviDjanZWILniqApq8icdy5Uqeu8F/RF6UF/NewRuia TjEDOJt81isNlGZvUvdo4dSXwS46fYLdoN0AaCpC5JmEyp40id/uCMT9iXFCNBqK OCqBKzRX7CJlRywls84SZlXZE4aeKSQNetF+9gtlaOs/+NE32fvpeY9JF4FRJrdi o4iuupb6noo1nKw9PsyHLFL/SwBbeMQTZErAgmTiBPlNc6we8rveFTcXmCHRC412 GLpXIuGO2qzMRTUVn+10Y4n9aF7uxXcbJ5sEhGGHBh7zJeWHeLhDkwr/ehozT88s psKjb9HU3T98skkZxncXMroLPXCnWudS3hjiB8fIWmgVB04a5iHRLJfSOdWHe8if 9MgSFE5GAyJ0zwldfprsOQxIdvCfKfkIcrNRd+qHdUqtHJBh6eH6rtgXi/p9Oh5M 5MnPE0QN+qi+7hads9mYYkujYO4ZLDGRwj4cdHQz8HtSW7HnELhygggRudHCHdVa kR4pQMiU7J75fN4BI6y8 =tujJ -----END PGP SIGNATURE----- --NAuYj0K7Umiq33rm--