echo -n "word1: "   # -n : do not output the trailing new line
read word1	# use to get into from keyboard: read var1, var2,... varN
echo -n "word2: "   
read word2	

echo $word1, $word2

if test "$word1" = "$word2"  #test builtin compares 2 words, "" make sure test works if string contain SPACE or special characters
  then
    echo "Match"
fi

echo "End of program."
    
