Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
Process substitution is disabled in POSIX mode. A 'git blame' on parse.y
suggests that this has been the case since bash prehistory.
To me, this seems:
- Inconsistent. Other bash extensions are not disabled when POSIX mode
is active; as far as I can tell, this is the only one.
- Unnecessary. The <(...) and >(...) syntax is a straightforward syntax
error in POSIX, so it's not as if this particular extension somehow
conflicts with POSIX standard scripts.
- Annoying. When a bash-specific script uses functions written for POSIX
(such as the modernish library), it needs to run in POSIX mode for
compatibility with those, but can still use every bash extension
except this one. It just seems pointless.
Would you consider the attached patch, which removes this limitation?
Thanks,
- M.
--
modernish -- harness the shell
https://github.com/modernish/modernish