[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é.
- Re: extension of file-test primitives?, (continued)
- Re: extension of file-test primitives?, Greg Wooledge, 2017/08/21
- Re: extension of file-test primitives?, Chet Ramey, 2017/08/21
- Re: extension of file-test primitives?, L A Walsh, 2017/08/23
- Re: extension of file-test primitives?, Greg Wooledge, 2017/08/23
- Re: extension of file-test primitives?, L A Walsh, 2017/08/23
- Re: extension of file-test primitives?, Pierre Gaston, 2017/08/23
- Re: extension of file-test primitives?, Greg Wooledge, 2017/08/23
- Re: extension of file-test primitives?, Chet Ramey, 2017/08/23
- Re: extension of file-test primitives?, Dethrophes, 2017/08/23
- Re: extension of file-test primitives?, Chet Ramey, 2017/08/23
- Re: extension of file-test primitives?,
Dethrophes <=
- Re: extension of file-test primitives?, Chet Ramey, 2017/08/23
- Re: extension of file-test primitives?, dethrophes, 2017/08/23
- Re: extension of file-test primitives?, Chet Ramey, 2017/08/23
- Re: extension of file-test primitives?, dethrophes, 2017/08/23
- Re: extension of file-test primitives?, Chet Ramey, 2017/08/23
- Re: extension of file-test primitives?, dethrophes, 2017/08/23
- Re: extension of file-test primitives?, Chet Ramey, 2017/08/23
- Re: extension of file-test primitives?, Eric Blake, 2017/08/23
- Re: extension of file-test primitives?, DJ Mills, 2017/08/23
- Re: extension of file-test primitives?, Chet Ramey, 2017/08/24