Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 1998 10:50:47 +0800 (WST)
From:      Dean Hollister <dean@odyssey.apana.org.au>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   bash: checking for empty string?
Message-ID:  <Pine.BSF.3.96.980413104954.2098A-100000@odyssey.apana.org.au>

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

Hiyall,

If have a string $name. I need to check if this is blank, and if it is,
exit the script. Any ideas?

Regards,

d.

+-------------------------------------------------------+
| Dean Hollister,           | dean@odyssey.apana.org.au |  
| Perth, Western Australia. | deanh@iinet.net.au        |
+-------------------------------------------------------+


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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