updated tux.sh
This commit is contained in:
1 parent
e13d5ad823
commit
84e10eb172
3 files changed
+22
-3
No files matched your search
+19
@@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
RESET='\033[0m'
|
||||
BYELLOW='\033[1;33m'
|
||||
#-------- function to print little tux ascii image ----------------------------------------------------------
|
||||
print_little_tux() {
|
||||
echo " .--."
|
||||
@@ -40,6 +42,20 @@ print_big_tux() {
|
||||
echo " \`':::_:' -- '' -'-' \`':_::::'\`"
|
||||
}
|
||||
#------------------------------------------------------------------------------------------------------------
|
||||
print_m_tux() {
|
||||
echo " #####"
|
||||
echo " #######"
|
||||
echo " ##O#O##"
|
||||
printf " #$BYELLOW#####$RESET#\n"
|
||||
printf " ####$BYELLOW###$RESET####\n"
|
||||
echo " #############"
|
||||
echo " ###############"
|
||||
echo " ###############"
|
||||
printf " $BYELLOW##$RESET#############$BYELLOW##$RESET\n"
|
||||
printf "$BYELLOW######$RESET#########$BYELLOW######$RESET\n"
|
||||
printf "$BYELLOW#######$RESET#######$BYELLOW#######$RESET\n"
|
||||
printf " $BYELLOW#####$RESET#######$BYELLOW#####$RESET\n"
|
||||
}
|
||||
#------- main -----------------------------------------------------------------------------------------------
|
||||
case "$1" in
|
||||
big|b|-b)
|
||||
@@ -48,6 +64,9 @@ case "$1" in
|
||||
little|l|-l)
|
||||
print_little_tux # print little tux image
|
||||
;;
|
||||
medium|m|-m)
|
||||
print_m_tux
|
||||
;;
|
||||
*)
|
||||
print_little_tux # default is print little tux image
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user