-
Notifications
You must be signed in to change notification settings - Fork 0
/
animal
45 lines (41 loc) · 1.03 KB
/
animal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
animal=$(( $RANDOM % 5 ));
if [ $# -gt 0 ]; then
echo "\"$@\""
echo ' \'
fi
if [ $animal -eq 0 ]; then
echo " ^__^ "
echo " (OO)\__________ "
echo " (__)\ )\/\ "
echo " ||-------W|| "
echo " || || "
echo " || || "
elif [ $animal -eq 1 ]; then
echo " __ __ "
echo " \/-----\/ "
echo " ). .( "
echo ' ( (") ) '
echo " ) ( "
echo " / \ "
echo " ( ) "
echo " ( \ /-\ / ) "
echo ' w`W W`w '
elif [ $animal -eq 2 ]; then
echo " @ @ "
echo " ('O') "
echo " o(___)o"
elif [ $animal -eq 3 ]; then
echo " /\___/\ "
echo " / / . .\ "
echo " \ \ ^ / "
echo " \ / \ "
echo " \ /______ \ "
elif [ $animal -eq 4 ]; then
echo " _____ ____ "
echo " / \ | o | "
echo " /| |/____\| "
echo " |__________/ "
echo " |_|_| |_|_| "
fi
exit