- 论坛徽章:
- 0
|
本帖最后由 kala_fly 于 2010-09-13 14:45 编辑
- #!/bin/bash
- echo "Love Story..."
- sleep 2
- echo "OK. Let's go..."
- sleep 2
- echo "Where is the beginning?"
- sleep 3
- echo -n "The answer is ..."
- sleep 3
- echo "NOwhere"
- sleep 3
- echo "I am a Black Beauty"
- read -p "Do you have a car?" a1
- read -p "Do you have a house to live?" a2
- if [ $a1 = "yes" ] && [ $a2 = "yes" ];
- then
- echo "Great!"
- sleep 1
- echo "You are the guy what I want!"
- exit 0
- else
- while :
- do
- ((i++))
- echo "Computing..."
- sleep 1
- echo "Confusing..."
- if [ $i -gt "10" ]
- then
- echo "Sorry, cowboy, I won't marry you..."
- break
- fi
- done
- fi
- sleep 5
- echo "E...Wait, wait..."
- sleep 3
- echo "?"
- sleep 3
- read -p "Do you really love me?" a3
- if [ $a3 = "yes" ]
- then
- echo "OK, We can keep in touch, and make friends echo other."
- echo "Any way, Good LUCK!"
- exit 0
- else
- echo "we'r DONE right now!"
- sleep 3
- fi
- clear
- echo "This is the an ordinary love sotry in the morden time.."
- sleep 2
- echo "Now, I have nothing to say...SEE U && GOOD LUCK"
复制代码 |
|