Re: test(1) unexpected result (to me)

From: Sam Lawrance <boris_at_brooknet.com.au>
Date: Wed, 12 Jan 2005 12:04:23 +1100
Julian Elischer wrote:

> # ls -l /sys
> lrwxrwxrwx  1 root  wheel  11 Sep  4 22:03 /sys -> usr/src/sys
> # if [ /sys -ef /usr/src/sys ]
> > then
> > echo same
> > else
> > echo no
> > fi
> no
>
>
> I would have expected the result "same"
>
> comments?


I see the opposite of this. Just to make sure... does your /usr/src/sys 
actually exist?

-- 
Sam Lawrance    ph +61 0425 228 579    freenode: deft
Received on Wed Jan 12 2005 - 00:05:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC