#!/bin/sh

# Examples of various use of quotes around variables

s1="a multi-word string"
s2=""

# The following will produce an error: too many arguments
#Solution: put $s1 in quotes
if test -z $s1 
then
	echo String is empty
else
	echo String is not empty
fi

# The following doesn't work because it appears that there is no argument
# in the first case

if test $s2 = ""
then
	echo String is empty
else
	echo String is not empty
fi

