← Back to team overview

sslug-teknik team mailing list archive

Re: Default værdi for read

 

On Tue, 30 Mar 2004, René Mølsted wrote:

> 		if [ $DELETE = Ja ] ;  then

 		if [ "$DELETE" = Ja ] ;  then

Ved brug af " bliver to strenge sammenlignet, selv om variablen er 
tom.

Den space du har imellem ] ; er ikke nødvendig, resten af spaces er.

/hans
-- 
Hamletsgade 4 - 201, DK-2200 København N, Phone: +45 3582 9079
Schou Industries ApS      http://schou.dk/    CVR: 26 13 44 39
--------------------------------------------------------------
Unix: You probably don't need our advice.
			-- FAQ om Flac, www.livemetallica.com


Follow ups

References