Zackary Deems wrote:
> echo "blah" >/tmp/blah
> ln -s /tmp/blah /tmp/blah.link
> if [[ -f "/tmp/blah.link" ]]
> then
>    echo "/tmp/blah.link is a regular file"
> else
>    echo "/tmp/blah.link is NOT a regular file"
> fi
> 
> links now match for both links and regular files.  This plays hell with
> quite a bit of existing code.
The file status operators, unless specifically described as operating
on symlinks, have always followed symbolic links.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to