On Mon, 8 May 2000, Minh Van wrote:
> what's the difference between elif & else in shell scripts ? they seem the
> same to me.
if [ condition1 ]; then
# do something
elif [ condition2 ]; thwen
# do something else
else
# drop to here if the other two conditions were not met
fi
short answer: else does not have a conditional
--
Rick Welykochy || Praxis Services
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text