in reply to Re^2: stat to identify files?
in thread stat to identify files?

See -f under -X to check whether a filename is a symlink and use readlink to get the symlink value.

Replies are listed 'Best First'.
Re^4: stat to identify files?
by Skeeve (Parson) on Jun 11, 2008 at 19:14 UTC

    ++! The best solution at all! Thanks a lot!


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e