Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15444

Re: shebang-less script execution not resetting some options

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: shebang-less script execution not resetting some options
Date 2019-10-01 10:10 -0400
Message-ID <mailman.598.1569939021.2651.bug-bash@gnu.org> (permalink)
References <CAMu=BrpjDvF9Rz=JFaGoxV5AwjRoq=aC1htaybVz_kPFsDinbA@mail.gmail.com> <d098a27c-1a9b-691a-93fe-ae76b664cc0a@case.edu>

Show all headers | View raw


On 9/30/19 5:39 PM, Grisha Levit wrote:
> A few of the recently-added shopt options aren't getting reset when
> running a shebang-less script, this should fix it up:

Thanks for the report.

> Maybe verifying this is something that can be added to the test suite?
> Something like:

Yes, something like this will be helpful.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: shebang-less script execution not resetting some options Chet Ramey <chet.ramey@case.edu> - 2019-10-01 10:10 -0400

csiph-web