From owner-freebsd-questions Sat May 24 18:00:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA28849 for questions-outgoing; Sat, 24 May 1997 18:00:13 -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 SAA28844 for ; Sat, 24 May 1997 18:00:11 -0700 (PDT) Received: from aak.anchorage.net (ai-132 [207.14.72.132]) by iceberg.anchorage.net. (8.6.11/8.7.3) with SMTP id PAA01412 for ; Sat, 24 May 1997 15:56:51 -0800 Date: Sat, 24 May 1997 16:39:24 -0800 (AKDT) From: Steve Howe X-Sender: abc@aak.anchorage.net To: freebsd-questions Subject: Xterm/shell diff Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk is there a good reason an Xterm and ttyv* window should behave differently? if [ "`expr $j : '.*\.\(.*\)'`" = gz ]; then echo hi!; fi if i remove the double-quotes from the test, an Xterm gives me the error "]: syntax error", but a ttyv* doesn't complain. what's going on? ------------------------------------------------------------------------- Sleep: a sign a caffeine deprivation ... http://www.anchorage.net/~un_x -------------------------------------------------------------------------