mirror of
https://github.com/erkin/ponysay.git
synced 2025-02-16 17:44:23 +01:00
Now things work dandy
This commit is contained in:
parent
2eca5eaa96
commit
9dc80bf1b4
1 changed files with 4 additions and 2 deletions
6
ponysay
6
ponysay
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
export PERL_UNICODE=S
|
||||
|
||||
ponydir=$PWD/ponies
|
||||
|
||||
function ponyf() {
|
||||
|
@ -18,7 +19,8 @@ do
|
|||
case ${OPT} in
|
||||
v) echo "v0.01" ; exit;;
|
||||
h) echo "helpherpderp" ; exit;;
|
||||
f) ponyf ${2}; exit;;
|
||||
\?) show_error "DERP"; exit;;
|
||||
f) ponyf $* ; exit;;
|
||||
*) ponyr $* ; exit;;
|
||||
esac
|
||||
done
|
||||
ponyr $*
|
||||
|
|
Loading…
Reference in a new issue