From owner-freebsd-questions Sun Apr 12 19:51:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA16786 for freebsd-questions-outgoing; Sun, 12 Apr 1998 19:51:43 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA16662 for ; Sun, 12 Apr 1998 19:50:13 -0700 (PDT) (envelope-from dean@odyssey.apana.org.au) Received: from localhost (dean@localhost) by odyssey.apana.org.au (8.8.7/8.8.7) with SMTP id KAA02159 for ; Mon, 13 Apr 1998 10:50:48 +0800 (WST) Date: Mon, 13 Apr 1998 10:50:47 +0800 (WST) From: Dean Hollister To: FreeBSD Questions Subject: bash: checking for empty string? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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