Timeline for Are all the shell options not inherited by scripts?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 21, 2017 at 8:12 | comment | added | Hauke Laging | @Tim I guess your misunderstanding is "execution environment". The environment is external to a running binary, the shell options are internal. This paragraph is about simple commands in general. Calling a shell explicitly is a very special case. | |
Aug 21, 2017 at 1:35 | vote | accept | Tim | ||
Apr 11, 2018 at 3:05 | |||||
Aug 21, 2017 at 0:43 | comment | added | Tim | Thanks, Hauke! I wonder if I misunderstand the manual? It doesn't explicitly mention set options, so I think "Unless otherwise noted, the values are inherited from the shell" applies to set options. Am I missing something? | |
Aug 19, 2017 at 21:18 | history | edited | Hauke Laging | CC BY-SA 3.0 |
added 1 character in body
|
Aug 19, 2017 at 21:11 | comment | added | glenn jackman |
You mean bash -$- so you're passing the options as options instead of attempting to run a file named "$-"
|
|
Aug 19, 2017 at 20:13 | history | answered | Hauke Laging | CC BY-SA 3.0 |