From 7b5fc8ca9a2b9357d7d37faa61185e5c80603c8b Mon Sep 17 00:00:00 2001 From: xero Date: Sun, 12 Oct 2014 19:43:51 -0400 Subject: add fun ryu ascii art script from http://git.io/ryu --- fun/code/fun/ryu | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) mode change 100644 => 100755 fun/code/fun/ryu (limited to 'fun/code') diff --git a/fun/code/fun/ryu b/fun/code/fun/ryu old mode 100644 new mode 100755 index 8c0676f..070f8bb --- 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 @@ -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" -- cgit v1.2.1