bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extension of file-test primitives?


From: Dethrophes
Subject: Re: extension of file-test primitives?
Date: Wed, 23 Aug 2017 16:24:55 +0200
User-agent: K-9 Mail for Android


>
>> 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é.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]