Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15441
| Path | csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | L A Walsh <bash@tlinx.org> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: shebang-less script execution not resetting some options |
| Date | Tue, 01 Oct 2019 04:14:00 -0700 |
| Lines | 17 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.561.1569928449.2651.bug-bash@gnu.org> (permalink) |
| References | <CAMu=BrpjDvF9Rz=JFaGoxV5AwjRoq=aC1htaybVz_kPFsDinbA@mail.gmail.com> <5D9334F8.3090503@tlinx.org> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | usenet.stanford.edu 1569928450 7289 209.51.188.17 (1 Oct 2019 11:14:10 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-bash <bug-bash@gnu.org> |
| To | Grisha Levit <grishalevit@gmail.com> |
| Envelope-to | bug-bash@gnu.org |
| User-Agent | Thunderbird |
| In-Reply-To | <CAMu=BrpjDvF9Rz=JFaGoxV5AwjRoq=aC1htaybVz_kPFsDinbA@mail.gmail.com> |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] |
| X-Received-From | 173.164.175.65 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <5D9334F8.3090503@tlinx.org> |
| X-Mailman-Original-References | <CAMu=BrpjDvF9Rz=JFaGoxV5AwjRoq=aC1htaybVz_kPFsDinbA@mail.gmail.com> |
| Xref | csiph.com gnu.bash.bug:15441 |
Show key headers only | View raw
On 2019/09/30 14:39, 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: > Suppose the shebang-less script is being run by an earlier version of bash. Won't the new patch radically change the behavior of of such programs? Or, say I'm running a bash from /home/myhome/bin/bash (even though my normal shell is /bin/bash). Those options would have to be reset in the new, child script, no? So again, how would the difference in behaviors affect a user? Does posix define the behavior of a child script with no interp-line?
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: shebang-less script execution not resetting some options L A Walsh <bash@tlinx.org> - 2019-10-01 04:14 -0700
csiph-web