> >> Which I always understood as the correct way of doing this in the >first place... > >It's not as good as multiple test commands: test -f file && test -x >file. >There's no ambiguity and you get short-circuiting.
Only if you are using the test built-in, otherwise the latter means 2 spawns/forks however the shell in question calls the test exec. -- Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.