mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 12:27:59 +01:00
Removed some stuff implemented in ponysay.py
This commit is contained in:
parent
2301f094ad
commit
378da89d3b
1 changed files with 0 additions and 15 deletions
15
ponysay.sh
15
ponysay.sh
|
@ -7,10 +7,6 @@ INSTALLDIR="$(dirname $( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd ))"
|
|||
# Subscripts
|
||||
truncatercmd="$INSTALLDIR/lib/ponysay/truncater"
|
||||
|
||||
pony="*" # Selected pony
|
||||
wrap="" # Message wrap column
|
||||
ponies=() # Selected ponies
|
||||
|
||||
scrw=`(stty size <&2 || echo 0 0) | cut -d ' ' -f 2` # Screen width
|
||||
scrh=`(stty size <&2 || echo 0 0) | cut -d ' ' -f 1` # Screen height
|
||||
|
||||
|
@ -98,17 +94,6 @@ say() {
|
|||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
# If no stdin and no arguments then print usage and exit
|
||||
if [ -t 0 ] && [ $# == 0 ]; then
|
||||
usage
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
# Check for cowsay
|
||||
hash $cmd &>/dev/null; if [ $? -ne 0 ]; then
|
||||
cat >&2 <<EOF
|
||||
|
|
Loading…
Reference in a new issue