Marc Herbert wrote:

> For purists, does this one works even better?
> 
> is_file3()
> { 
>     for f
>     do
>         [ -e "$f" -o -L "$f" ] && return
>     done
>     return 1
> }

You might also want to enable "dotglob" to catch hidden files...

Reply via email to