Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 1997 12:40:02 -0700 (PDT)
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-bugs
Subject:   Re: conf/3751: Improvements to /etc/rc{,.network,.pccard}
Message-ID:  <199706021940.MAA07503@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/3751; it has been noted by GNATS.

From: j@uriah.heep.sax.de (J Wunsch)
To: Harlan.Stenn@pfcs.com (Harlan Stenn)
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: conf/3751: Improvements to /etc/rc{,.network,.pccard}
Date: Mon, 2 Jun 1997 21:21:11 +0200

 As Harlan Stenn wrote:
 
 > J> foo="-ain't this weird?-"
 > 
 > J> if [ "$foo" = "bar" ] ; ...
 > 
 > Did you mean:
 > 
 >    if [ $foo = "bar" ] ; ... 
 > 
 > Shell metacharacters aren't expanded with "$foo".
 
 No, i meant the problem that arises if $foo evaluates to something
 that could become a valid switch for test(1).
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)



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