Make me a sandwich...
Posted on 2008.09.03 at 09:34
Only my geek friends will appreciate this, of course.

#!/bin/bash
# make me a sandwich
name=$(whoami)
if [ $name != "root" ]; then
echo -e "Bah...go make you're own sandwich...\nWhat do you think I am, you're slave or something?"
else
echo -e "At your service, O Great One.\nWhat kind of sandwich do you desire?"
read type
echo "Cheese, sir?"
read cheese
echo "What kind of bread, Majesty?"
read bread
echo "Any condiments, Benevolent Master?"
read condiments
echo "Something to drink, as well, Your Magnificence?"
read drink
echo -e "Very well, Majesty...one $type sandwith with $cheese on $bread with $condiments, and a drink of $drink coming right away, Great One!"
sleep 5
echo "..."
sleep 5
echo "..."
echo -e "Here is your sandwich, o Great Benevolent one.\nThank you so much for allowing me to serve you.\nI bow before your magnificent radiance!"
fi
exit

#!/bin/bash
# make me a sandwich
name=$(whoami)
if [ $name != "root" ]; then
echo -e "Bah...go make you're own sandwich...\nWhat do you think I am, you're slave or something?"
else
echo -e "At your service, O Great One.\nWhat kind of sandwich do you desire?"
read type
echo "Cheese, sir?"
read cheese
echo "What kind of bread, Majesty?"
read bread
echo "Any condiments, Benevolent Master?"
read condiments
echo "Something to drink, as well, Your Magnificence?"
read drink
echo -e "Very well, Majesty...one $type sandwith with $cheese on $bread with $condiments, and a drink of $drink coming right away, Great One!"
sleep 5
echo "..."
sleep 5
echo "..."
echo -e "Here is your sandwich, o Great Benevolent one.\nThank you so much for allowing me to serve you.\nI bow before your magnificent radiance!"
fi
exit
