Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 1997 02:41:57 -0800 (AKDT)
From:      Steve Howe <un_x@anchorage.net>
To:        freebsd-questions <questions@freebsd.org>
Subject:   test -f $shvar 
Message-ID:  <Pine.BSF.3.95q.970503023817.7560A-100000@aak.anchorage.net>

next in thread | raw e-mail | index | archive | help

anyone notice how "test -f $shvar" always results in "true"?

why bother doing tests as in xinitrc like that to test for files?
whether the file exists or not, the test is always true?
i don't really understand why this is!  is it a bug?
-------------------------------------------------------------------------
 Sleep: a sign a caffeine deprivation ... http://www.anchorage.net/~un_x
-------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970503023817.7560A-100000>