#!/bin/bash
# Takes two strings and says stuff
# This version put quotes around $1 and $2, and $string1 and $string2

set -eu
set -o pipefail

string1="$1"
string2="$2"

if [ -z "$string2" ]
then
    echo "string2 is empty"
else
    echo "string2 not empty"
fi

if [ "$string1" == "$string2" ]
then
    echo "the strings are the same"
else
    echo "the strings are different"
fi
