From f90956da8227699bb516318df0a5611e1761fc0f Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Tue, 23 Nov 2021 17:18:06 -0600 Subject: [PATCH] Add turkey cowfile Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> --- docs/src/cows.md | 1 + src/Cowsay.jl | 1 + src/cows/turkey.cow.jl | 64 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 src/cows/turkey.cow.jl diff --git a/docs/src/cows.md b/docs/src/cows.md index 014e68b..11fec56 100644 --- a/docs/src/cows.md +++ b/docs/src/cows.md @@ -48,5 +48,6 @@ Cowsay.meow Cowsay.moose Cowsay.sheep Cowsay.stegosaurus +Cowsay.turkey Cowsay.vader_koala ``` diff --git a/src/Cowsay.jl b/src/Cowsay.jl index 2f097ef..7b9a078 100644 --- a/src/Cowsay.jl +++ b/src/Cowsay.jl @@ -27,6 +27,7 @@ include("cows/stegosaurus.cow.jl") include("cows/supermilker.cow.jl") include("cows/surgery.cow.jl") include("cows/three-eyes.cow.jl") +include("cows/turkey.cow.jl") include("cows/udder.cow.jl") include("cows/vader-koala.cow.jl") include("cows/vader.cow.jl") diff --git a/src/cows/turkey.cow.jl b/src/cows/turkey.cow.jl new file mode 100644 index 0000000..c29cf3f --- /dev/null +++ b/src/cows/turkey.cow.jl @@ -0,0 +1,64 @@ +## +## Turkey! +## +""" + function turkey() + +Turkey! + +# Example +```jldoctest +julia> cowsay("Gobble, gobble", cow=Cowsay.turkey) + ________________ +< Gobble, gobble > + ---------------- + \\ ,+*^^*+___+++_ + \\ ,*^^^^ ) + \\ _+* ^**+_ + \\ +^ _ _++*+_+++_, ) + _+^^*+_ ( ,+*^ ^ \\+_ ) + { ) ( ,( ,_+--+--, ^) ^\\ + { (@) } f ,( ,+-^ __*_*_ ^^\\_ ^\\ ) + {:;-/ (_+*-+^^^^^+*+*<_ _++_)_ ) ) / + ( / ( ( ,___ ^*+_+* ) < < \\ + U _/ ) *--< ) ^\\-----++__) ) ) ) + ( ) _(^)^^)) ) )\\^^^^^))^*+/ / / + ( / (_))_^)) ) ) ))^^^^^))^^^)__/ +^^ + ( ,/ (^))^)) ) ) ))^^^^^^^))^^) _) + *+__+* (_))^) ) ) ))^^^^^^))^^^^^)____*^ + \\ \\_)^)_)) ))^^^^^^^^^^))^^^^) + (_ ^\\__^^^^^^^^^^^^))^^^^^^^) + ^\\___ ^\\__^^^^^^))^^^^^^^^)\\\\ + ^^^^^\\uuu/^^\\uuu/^^^^\\^\\^\\^\\^\\^\\^\\^\\ + ___) >____) >___ ^\\_\\_\\_\\_\\_\\_\\) + ^^^//\\\\_^^//\\\\_^ ^(\\_\\_\\_\\) + ^^^ ^^ ^^^ ^ +``` +""" +function turkey(;eyes="oo", tongue=" ", thoughts="\\") +the_cow = +""" + $thoughts ,+*^^*+___+++_ + $thoughts ,*^^^^ ) + $thoughts _+* ^**+_ + $thoughts +^ _ _++*+_+++_, ) + _+^^*+_ ( ,+*^ ^ \\+_ ) + { ) ( ,( ,_+--+--, ^) ^\\ + { (@) } f ,( ,+-^ __*_*_ ^^\\_ ^\\ ) + {:;-/ (_+*-+^^^^^+*+*<_ _++_)_ ) ) / + ( / ( ( ,___ ^*+_+* ) < < \\ + U _/ ) *--< ) ^\\-----++__) ) ) ) + ( ) _(^)^^)) ) )\\^^^^^))^*+/ / / + ( / (_))_^)) ) ) ))^^^^^))^^^)__/ +^^ + ( ,/ (^))^)) ) ) ))^^^^^^^))^^) _) + *+__+* (_))^) ) ) ))^^^^^^))^^^^^)____*^ + \\ \\_)^)_)) ))^^^^^^^^^^))^^^^) + (_ ^\\__^^^^^^^^^^^^))^^^^^^^) + ^\\___ ^\\__^^^^^^))^^^^^^^^)\\\\ + ^^^^^\\uuu/^^\\uuu/^^^^\\^\\^\\^\\^\\^\\^\\^\\ + ___) >____) >___ ^\\_\\_\\_\\_\\_\\_\\) + ^^^//\\\\_^^//\\\\_^ ^(\\_\\_\\_\\) + ^^^ ^^ ^^^ ^ +""" +return the_cow +end