aboutsummaryrefslogtreecommitdiff
path: root/ponysay.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ponysay.sh')
-rwxr-xr-xponysay.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/ponysay.sh b/ponysay.sh
index 482dabc..99dbec2 100755
--- a/ponysay.sh
+++ b/ponysay.sh
@@ -60,40 +60,12 @@ fi
-# Marks ponies in lists that have quotes
-qoutelist() {
- bash -c "$("$qlistcmd" $("$quotecmd" --list))"
-}
-
# Pony quotes
ponyquotes() {
[ "$TERM" = "-linux-" ] && TERM="linux"
"$0" ${wrap:+-W$wrap} $("$quotecmd" $@)
}
-# Usage help print function
-usage() {
- version
- cat <<EOF
-
-Usage:
-${0##*/} [options] [message]
-
-If [message] is not provided, reads the message from STDIN.
-
-Options:
- -v Show version and exit.
- -h Show this help and exit.
- -l List pony files.
- -L List pony files with synonyms inside brackets.
- -q Use the pony quote feature.
- -f[name] Select a pony (either a file name or a pony name.)
- -W[column] The screen column where the message should be wrapped.
-
-See man ponysay(6) for more information.
-EOF
-}
-
# Function for printing the ponies and the message
say() {
# Ponies use UTF-8 drawing characters. Prevent a Perl warning.