Initial commit

This commit is contained in:
Knoch 2018-07-14 09:15:24 +02:00
commit b19d16dda6
2 changed files with 37 additions and 0 deletions

26
README.md Normal file
View File

@ -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!
```

11
oink.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
cowsay "$@" | head -n -5
tee <<- EOM
| Λ––Λ
| /_ _\\
\_ ( U U )
\' '/
¯/
< 🐽 >
EOM