Cover V08, I01
Article
Listing 1
Listing 2
Listing 3
Sidebar 1

jan99.tar


Listing 2: snew.ss

# Coffin test shell script
# using get_char instead of the 
# unix shell read
#
echo "Enter Password \c"
password=`./get_char`
echo "\n"
./coffin -d $password 
if [ $? = 0 ]
then # good password
   echo "RUN THE PROGRAM"
else # bad password
   echo "ACCESS DENIED"
   exit 1
fi

/* End of File */