Add tux cowfile

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2021-11-23 17:26:28 -06:00
parent aa68630d06
commit 1c3998c7d1
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 44 additions and 0 deletions

View file

@ -23,6 +23,7 @@ Cowsay.www
```@docs ```@docs
Cowsay.blowfish Cowsay.blowfish
Cowsay.elephant Cowsay.elephant
Cowsay.tux
``` ```
## Cows and friends ## Cows and friends

View file

@ -29,6 +29,7 @@ include("cows/surgery.cow.jl")
include("cows/three-eyes.cow.jl") include("cows/three-eyes.cow.jl")
include("cows/turkey.cow.jl") include("cows/turkey.cow.jl")
include("cows/turtle.cow.jl") include("cows/turtle.cow.jl")
include("cows/tux.cow.jl")
include("cows/udder.cow.jl") include("cows/udder.cow.jl")
include("cows/vader-koala.cow.jl") include("cows/vader-koala.cow.jl")
include("cows/vader.cow.jl") include("cows/vader.cow.jl")

42
src/cows/tux.cow.jl Normal file
View file

@ -0,0 +1,42 @@
##
##
"""
function tux()
TuX
(c) pborys@p-soft.silesia.linux.org.pl
# Example
```jldoctest
julia> cowsay("Talk is cheap. Show me the code.", cow=Cowsay.tux)
__________________________________
< Talk is cheap. Show me the code. >
----------------------------------
\\
\\
.--.
|o_o |
|:_/ |
// \\ \\
(| | )
/'\\_ _/`\\
\\___)=(___/
```
"""
function tux(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts
$thoughts
.--.
|o_o |
|:_/ |
// \\ \\
(| | )
/'\\_ _/`\\
\\___)=(___/
"""
return the_cow
end