From owner-freebsd-questions Tue May 6 23:27:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA04733 for questions-outgoing; Tue, 6 May 1997 23:27:19 -0700 (PDT) Received: from iceberg.anchorage.net. (root@iceberg.anchorage.net [207.14.72.150]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id XAA04728 for ; Tue, 6 May 1997 23:27:15 -0700 (PDT) Received: from aak.anchorage.net (ai-134 [207.14.72.134]) by iceberg.anchorage.net. (8.6.11/8.7.3) with SMTP id VAA08305 for ; Tue, 6 May 1997 21:24:05 -0800 Date: Tue, 6 May 1997 22:17:43 -0800 (AKDT) From: Steve Howe X-Sender: abc@aak.anchorage.net To: freebsd-questions Subject: test Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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?