Is there another way I can State this? It does not work the way it is. Any help would be appreciated.
#!/bin/sh
#
echo "Please enter the word SLHNDMP SLHNDMP_VB PRGTEST_GDG or PRGTEST:"
read PASSWORD
if [ PASSWORD = SLHNDMP ]; then
echo "Ran for SLHNDMP "
if [ PASSWORD = SLHNDMP_VB ]; then
echo "Ran for SLHNDMP_VB "
if [ PASSWORD = PRGTEST_GDG ]; then
echo "Ran for PRGTEST_GDG "
if [ PASSWORD = PRGTEST ]; then
echo "Ran for PRGTEST"
else
echo "None selected"
exit 0
fi
fi
fi
fi
Given two equally predictive theories, choose the simpler.
#!/bin/sh
#
echo "Please enter the word SLHNDMP SLHNDMP_VB PRGTEST_GDG or PRGTEST:"
read PASSWORD
if [ PASSWORD = SLHNDMP ]; then
echo "Ran for SLHNDMP "
if [ PASSWORD = SLHNDMP_VB ]; then
echo "Ran for SLHNDMP_VB "
if [ PASSWORD = PRGTEST_GDG ]; then
echo "Ran for PRGTEST_GDG "
if [ PASSWORD = PRGTEST ]; then
echo "Ran for PRGTEST"
else
echo "None selected"
exit 0
fi
fi
fi
fi
Given two equally predictive theories, choose the simpler.