commit b19d16dda62097b54ac66a17a26b8d9d82ff0a5a Author: Florian Knoch Date: Sat Jul 14 09:15:24 2018 +0200 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..d12f16a --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Oink + +[Cowsay](https://github.com/piuccio/cowsay), except it's Fooboar talking. You want to teach him new skills? Pull requests welcome! + +```console +fooboar@forest:~$ oink Ich bin ein WIldschwAIn! + __________________________ +< Ich bin ein WIldschwAIn! > + -------------------------- + | Λ––Λ + | /_ _\ + \_ ( U U ) + \' '/ + \¯¯/ + < 🐽 > +fooboar@forest:~$ +``` + +## Usage + +```sh +$ chmod +x "/path/to/oink.sh" +$ alias oink="/path/to/oink.sh" +$ oink Heyho! +``` + diff --git a/oink.sh b/oink.sh new file mode 100755 index 0000000..0133c47 --- /dev/null +++ b/oink.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +cowsay "$@" | head -n -5 +tee <<- EOM + | Λ––Λ + | /_ _\\ + \_ ( U U ) + \' '/ + \¯¯/ + < 🐽 > +EOM