3 ms·
These days bash and/or zsh are available nearly every place I care about, so I find POSIX compliance to be much less relevant.
by fiddlerwoaroof 5y ago
These days bash and/or zsh are available nearly every place I care about, so I find POSIX compliance to be much less relevant.
- pgtan 5y agoNo, process substitution must be provided by the kernel/syslibs, it is not feature of bash. For example there is bash on AIX, but process substitution is not possible because the OS do not support it.
- nonesuchluck 5y agoksh93 depends exclusively on the kernel implementation of /dev/fd devices. I just checked `cat <(ls)` a moment ago on both Linux and AIX 7.2--the latter fails in ksh93t+. Bash uses /dev/fd when available, but also appears to have an internal implementation which silently creates named pipes and cleans them up. In Bash 5.0.18 on AIX, fake process substitution works just fine, in my testing.
- pgtan 5y agoYes, you are right. Bash 5 on AIX 7.2 works with process substitution. Thanks for the advise!