Friday, February 15, 2008

Where my head was at on 09/13/2002

#! /bin/bash
word=Linux
echo -n "What rocks the world? "
read guess
if test $word = $guess
then
echo "Damn right Linux rocks the world"
else
echo "try again bubba"
./wordgame
# note file name should be "wordgame"
clear
fi

-----------------------------------------------
and
-----------------------------------------------

#! /bin/bash
echo -n "What is the fathers name? "
read father
echo -n "What is the mothers name? "
read mother
echo -n "What is name of the baby? "
read baby
echo -n "What is the date of birth? "
read date
echo -n "What is the birth weight? "
read weight
echo -n "What is the gender? "
read gender
clear
echo " We would like to congratulate Mr. $father, and Mrs. $mother, on the birth of their newborn baby $gender, $baby was born on $date weighing in at an awesome $weight"

No comments: