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.


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

Reply via email to