aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElis <elis.axelsson@gmail.com>2012-08-18 19:57:08 +0300
committerElis <elis.axelsson@gmail.com>2012-08-18 19:57:08 +0300
commit378da89d3be748c4727839cb240255421fcd5789 (patch)
treeda76eadc0d77e8648624cba1979beea206afa369
parent2301f094ad3227e49d3def485448660301f60dac (diff)
downloadponysay-378da89d3be748c4727839cb240255421fcd5789.tar.gz
ponysay-378da89d3be748c4727839cb240255421fcd5789.tar.bz2
ponysay-378da89d3be748c4727839cb240255421fcd5789.zip
Removed some stuff implemented in ponysay.py
-rwxr-xr-xponysay.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/ponysay.sh b/ponysay.sh
index e390f09..9338c58 100755
--- a/ponysay.sh
+++ b/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