On Mon, 28 Mar 2016 23:50:42 +0200
Mattias Andrée <[email protected]> wrote:

Hey Mattias,

> This is an non-standard extension.
> 
> It tests with a file exists, is a directory, and is empty.
> Tests against non-existing files, non-directories and non-empty
> directories causes exit status 1.
> 
> It is a sane alternative to writing
> 
>   test -z "$(ls -A "$1")"

I think as with any discussion about adding nonstandard extensions, the
relevant question is wether this is widely used out there.
Can you give some examples were it is used?

Cheers

Laslo

-- 
Laslo Hunhold <[email protected]>

Reply via email to