Dan Douglas <orm...@gmail.com> wrote:
> for x in *; do
>     [[ -e $x ]] || continue
>     ...
> done

You should also test for $x not being a symlink.
Otherwise you can miss the corner case that you have
a dead/unresolvable symlink called "*".


Reply via email to