On Thu, 19 Oct 2017, Kurt H Maier wrote:
It's still useful. Minimal example:
[khm@pc ~]$ (exec cd /); echo $?
0
[khm@pc ~]$ (exec cd /nosuchpath); echo $?
/usr/bin/cd: line 2: cd: /nosuchpath: No such file or directory
1
And others pointed out the same thing; OK, it's obscure (because "test -x
{}" doesn't quite fit the bill) but I'm convinced.
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will
suffer."