Just reverse it, and it's ok. ! -l $file && -f _. The -f flag can work on lstat's output, whether the lstat found a link or not.
In reply to Re^3: "The stat preceding -l _ wasn't an lstat"?
by Tanktalus
in thread "The stat preceding -l _ wasn't an lstat"?
by Burak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |