Re: Are there any plans for more readable, modern syntaxes for If statements?

2020-03-29 Thread John W
On 3/26/20, George wrote: > On Thu, 2020-03-26 at 19:05 +0200, Vaidas BoQsc wrote: > I think shells would really benefit from things like > more powerful data structures, better facilities for passing complex data > to, and parsing complex data from different programs, better scoping, > better fil

Re: Bug? `set -e` inside functions inside `$(...)`

2019-10-03 Thread John W
Ah, got it sorted out. Not a bug, of course (: Bash, when not in posix mode, clears the '-e' flag in subshell environments. On 10/3/19, John W wrote: > I'm seeing some strange behavior w/regard to `set -e` when invoking a > shell function through a `$(...)` construct. >

Bug? `set -e` inside functions inside `$(...)`

2019-10-03 Thread John W
I'm seeing some strange behavior w/regard to `set -e` when invoking a shell function through a `$(...)` construct. I can't tell if it's a bug or not; the manpage doesn't really mention $() specially with regard to `set -e`, that I have found. I made a SO post with a bunch of details here: https:/