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
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
Thank you for the very nice and concise test case.
> links now match for b