aboutsummaryrefslogtreecommitdiff
path: root/fun/code
diff options
context:
space:
mode:
authorxero <x@xero.nu>2014-10-12 19:43:51 -0400
committerxero <x@xero.nu>2014-10-12 19:43:51 -0400
commit7b5fc8ca9a2b9357d7d37faa61185e5c80603c8b (patch)
tree37c1c9127436ed63b79250f55fcbed4a43c35448 /fun/code
parent54ed62fc3cc9274b6b22d466798ecb59492c71aa (diff)
downloaddotfiles_ascii-7b5fc8ca9a2b9357d7d37faa61185e5c80603c8b.tar.xz
dotfiles_ascii-7b5fc8ca9a2b9357d7d37faa61185e5c80603c8b.zip
add fun ryu ascii art script from http://git.io/ryu
Diffstat (limited to 'fun/code')
-rwxr-xr-x[-rw-r--r--]fun/code/fun/ryu34
1 files changed, 17 insertions, 17 deletions
diff --git a/fun/code/fun/ryu b/fun/code/fun/ryu
index 8c0676f..070f8bb 100644..100755
--- a/fun/code/fun/ryu
+++ b/fun/code/fun/ryu
@@ -1,15 +1,17 @@
#!/bin/bash
-# s y n t a x . s a m u r a i
-# p r e s e n t s
+# s y n t a x . s a m u r a i
+# p r e s e n t s
#
-# ███████ ██ ██ ██ ██
-# ░██░░░░██ ░░██ ██ ░██ ░██
-# ░██ ░██ ░░████ ░██ ░██
-# ░███████ ░░██ ░██ ░██
-# ░██░░░██ ░██ ░██ ░██
-# ░██ ░░██ ░██ ░██ ░██
-# ░██ ░░██ ░██ ░░███████
-# ░░ ░░ ░░ ░░░░░░░
+# ███████ ██ ██ ██ ██
+# ░██░░░░██ ░░██ ██ ░██ ░██
+# ░██ ░██ ░░████ ░██ ░██
+# ░███████ ░░██ ░██ ░██
+# ░██░░░██ ░██ ░██ ░██
+# ░██ ░░██ ░██ ░██ ░██
+# ░██ ░░██ ░██ ░░███████
+# ░░ ░░ ░░ ░░░░░░░
+#
+# ansi art of ryu hayabusa from ninja gaiden
#
# ▓▓▓▓▓▓▓▓▓▓
# ░▓ author ▓ xero <x@xero.nu>
@@ -19,11 +21,6 @@
# ░░░░░░░░░░
cols=`tput cols`
-if [[ $cols -lt 100 ]]; then
- echo "term size must be greater than 100px wide!"
- echo "call 'ryu --help' for more info"
- exit
-fi
pad () {
count=$1
until [[ $count -eq 1 ]]; do
@@ -145,11 +142,12 @@ else
echo "▟▒░░░░░░░▜▙▜████████████████████████████████▛"
echo "▜▒░░░░░░░▟▛▟▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▛"
echo " ▜▛"
- echo "this program is free software, and distrobuted under the Creative Commons "
+ echo "this program is free software, and distributed under the Creative Commons "
echo "Attribution-ShareAlike 3.0 Unported License (CC BY-SA 3.0)"
echo "http://creativecommons.org/licenses/by-sa/3.0/"
exit
elif [[ $1 = '--help' || $1 = '-h' || $1 == "help" ]]; then
+ echo ""
echo " s y n t a x . s a m u r a i"
echo " p r e s e n t s"
echo ""
@@ -164,16 +162,18 @@ else
echo ""
echo " usage: ryu [option]"
echo ""
- echo " display some ansi art of ryu from ninja gaiden"
+ echo " ansi art of ryu hayabusa from ninja gaiden"
echo ""
echo " --help, -h : display this message"
echo " --version, -v : display version and license"
echo " --grey, -g : display the art [default]"
echo " --color, -c : display the art in color"
+ echo ""
echo " ▟▙"
echo "▟▒░░░░░░░▜▙▜████████████████████████████████▛"
echo "▜▒░░░░░░░▟▛▟▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▛"
echo " ▜▛"
+ echo ""
echo " author: xero harrison > http://xero.nu"
echo " homepage: http://git.io/ryu"
echo " crew: http://github.com/syntax-samurai"