Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 1997 22:17:43 -0800 (AKDT)
From:      Steve Howe <un_x@anchorage.net>
To:        freebsd-questions <questions@freebsd.org>
Subject:   test
Message-ID:  <Pine.BSF.3.95q.970506221207.18627A-100000@aak.anchorage.net>

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

if [ $1 != "-a" -a $1 != "-b" -a $1 != "-p" ]; then blah; blah; blah; fi
-------------------------------------------------------------------------
shouldn't test be able to handle this, for simple option checking?
i think "test" gets confused and chokes because it thinks
"-a", "-b", "-p" are "test" options.

i doesn't seem like there is any way to "quote" out the options i'd like
to test so that test doesn't think they are its own ...

is there?




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