Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2005 12:04:23 +1100
From:      Sam Lawrance <boris@brooknet.com.au>
To:        Julian Elischer <julian@elischer.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: test(1) unexpected result  (to me)
Message-ID:  <41E47797.3010409@brooknet.com.au>
In-Reply-To: <41E47226.8050001@elischer.org>
References:  <41E47226.8050001@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41E47797.3010409>