aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfun/bin/metroid139
1 files changed, 113 insertions, 26 deletions
diff --git a/fun/bin/metroid b/fun/bin/metroid
index 5bb5c72..8995836 100755
--- a/fun/bin/metroid
+++ b/fun/bin/metroid
@@ -1,27 +1,114 @@
#!/bin/sh
-cat << EOF
-
-  
-    
-    
-      
-        
-          
-          
-          
-          
-        
-            
-                 
-             
-         
-           
-           
-           
-          
-        
-            
-          
-        
-    
-EOF
+#
+# metroid: a metroid ascii banner generator
+# MMXVI xero (http://xero.nu)
+
+usage() {
+printf "usage: `basename $0` \n\
+ [-m --mini mini] \n\
+ [-s --super super] \n\
+ [-t --text text] \n\
+ [-n --normal normal] \n\
+ [-h --help help]\n"
+}
+
+text() {
+ printf "\n .___.\n / @ \ \n \ @ @ /\n {'^'}\n\n"
+}
+
+mini() {
+cat << METROID
+
+ ▄▄ ▀▀▀▀▀▀▀▀▀▀▀ ▄▄
+ ▄ ▀▀▀▀          ▀▀▀ ▄
+ ▄ ▀▀  ▀▀             ▀▀ ▄
+  ▀▀  ▀                  ▀▀ 
+ ▄ ▀▀ ▀ ▀                ▀▀▀▀▀ ▄
+ ▄     ▀                         ▄
+               ▀▀▀▀▀    ▀▀▀       
+                             ▀▀▀  ▄
+  ▀        ▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀  ▀     
+   ▀▀▀         ▀   ▀      ▀▀       
+  ▀▀▀▀    ▀▀   ▀   ▀   ▀▀    ▀▀▀▀  
+    ▀▀▀▀ ▀▀▀▀▀▀     ▀▀▀▀▀▀ ▀▀▀▀    
+▀▀▀▀  ▀▀▀▀  ▀▀▀     ▀▀▀  ▀▀▀▀  ▀▀▀▀
+ ▀▀             ▀▀▀             ▀▀
+  ▀▀      ▀  ▀   ▀  ▀      ▀▀ 
+ ▀ ▀        ▀▀▀▀▀        ▀ ▀
+ ▀▀▀ ▀ ▀   ▀ ▀ ▀▀▀
+
+METROID
+}
+
+super() {
+cat << METROID
+
+ ▄▄▄▀▀▀▀▀▀▀▀▄▄▄
+ ▄▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄▄
+ ▄▀▀▀▀▀▀▀▀▀      ▀▀▀▀▀▀▀▀▀▄
+ ▀▀▀▀ ▀▀▀▀    ▀▀    ▀▀▀▀ ▀▀▀▀
+ ▀▀▀▀▀  ▀▀▀▀▀ ▀  ▀ ▀▀▀▀▀  ▀▀▀▀▀
+ ▀ ▀▀▀▀▀ ▀▀▀ ▀▀▀▀▀▀ ▀▀▀ ▀▀▀▀▀ ▀ 
+▀▀▀▀▀▀  ▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀  ▀▀▀▀▀▀
+▀  ▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀  ▀
+▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀
+ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
+ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
+  ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ 
+ ▀▀▀▀▀▀  ▀▀▀ ▀▀▀  ▀▀▀▀▀▀
+ ▀▀▀  ▀▀   ▀▀  ▀▀▀
+ ▀▀▀▀ ▀▀▀▀
+ ▀ ▀ ▀ ▀
+
+METROID
+}
+
+normal() {
+cat << METROID
+
+  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 
+  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 
+  ▀▀▀▀▀▀                ▀▀▀▀▀▀ 
+  ▀▀▀▀    ▀▀                  ▀▀▀▀ 
+  ▀▀▀▀  ▀▀  ▀▀▀▀▀▀▀▀▀▀            ▀▀▀▀ 
+      ▀▀      ▀▀▀▀▀▀▀▀▀▀          ▀▀▀▀▀▀ 
+  ▀▀▀▀▀▀  ▀▀                      ▀▀▀▀     
+        ▀▀          ▀▀▀▀▀▀              ▀▀▀▀ 
+  ▀▀▀▀  ▀▀          ▀▀▀▀▀▀▀▀                   
+                    ▀▀    ▀▀      ▀▀▀▀         
+                    ▀▀    ▀▀            ▀▀▀▀▀▀▀▀ 
+ ▀▀▀▀    ▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀     
+     ▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀  ▀▀         
+     ▀▀▀▀            ▀▀    ▀▀                     
+   ▀▀▀▀▀▀    ▀▀▀▀    ▀▀    ▀▀    ▀▀▀▀    ▀▀▀▀▀▀   
+   ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀    ▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀   
+     ▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀        ▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀     
+ ▀▀▀▀    ▀▀▀▀▀▀  ▀▀▀▀        ▀▀▀▀  ▀▀▀▀▀▀    ▀▀▀▀ 
+  ▀▀▀▀        ▀▀▀▀  ▀▀▀▀▀▀▀▀  ▀▀▀▀        ▀▀▀▀ 
+      ▀▀ ▀▀ ▀▀  ▀▀        ▀▀  ▀▀ ▀▀ ▀▀     
+  ▀▀▀▀       ▀▀  ▀▀    ▀▀  ▀▀       ▀▀▀▀ 
+  ▀▀▀▀     ▀▀   ▀▀▀▀   ▀▀     ▀▀▀▀ 
+  ▀▀   ▀▀▀▀   ▀▀▀▀   ▀▀ 
+  ▀▀   ▀▀ 
+
+METROID
+}
+
+case "$1" in
+ *-m|--mini|mini*)
+ mini
+ ;;
+ *-s|--super|super*)
+ super
+ ;;
+ *-n|--normal|normal)
+ normal
+ ;;
+ *-t|--text|text)
+ text
+ ;;
+ *)
+ text
+ usage
+ ;;
+esac