echo -e "$NEW_SHORTNAME\t$START_IP\t$END_IP"
echo
read -p "Is this correct? (y/n) " ANSWER
-if [ "$ANSWER" = "[Yy]" ]; then
+if [ "$ANSWER" = "y" ]; then
echo "Backing up the original file..."
cp $LIB_IPS_TXT $LIB_IPS_TXT.`date +%Y%m%d%H%M%S`
echo "Adding the new entry to the file..."
cp $LIB_IPS_TXT $LIB_IPS_TXT.`date +%Y%m%d%H%M%S`
$EDITOR $LIB_IPS_TXT
read -p "Would you like to copy the file to the other brick heads? (y/n) " COPYFILE
-if [ "$COPYFILE" = "[Yy]" ]; then
+if [ "$COPYFILE" = "y" ]; then
CopyFile
-elif [ "$COPYFILE" = "[Nn]" ]; then
+elif [ "$COPYFILE" = "n" ]; then
echo "Not copying file."
exit;
else