diff options
author | Elis Axelsson <elis.axelsson@gmail.com> | 2012-07-21 10:39:24 +0200 |
---|---|---|
committer | Elis Axelsson <elis.axelsson@gmail.com> | 2012-07-21 10:39:24 +0200 |
commit | 57fdde2f5e78abf097a0af2249031989de2ef0b5 (patch) | |
tree | efda58de2f1d5637f3561226b49c4a5c71dd373d /ponysay | |
parent | 40164221fbae896ba14715fa0c01cbb56a426105 (diff) | |
download | ponysay-57fdde2f5e78abf097a0af2249031989de2ef0b5.tar.gz ponysay-57fdde2f5e78abf097a0af2249031989de2ef0b5.tar.bz2 ponysay-57fdde2f5e78abf097a0af2249031989de2ef0b5.zip |
Support ponies by name like "Apple Jack"
Diffstat (limited to 'ponysay')
-rwxr-xr-x | ponysay | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -270,7 +270,7 @@ while getopts $opts OPT; do case ${OPT} in v) version; exit ;; h) usage; exit ;; - f) ponies+=( "$OPTARG" ) ;; + f) ponies=($(echo $OPTARG | sed -e 's/ //g' -e 's/,/\n/')) ;; l) list; exit ;; L) linklist; exit ;; W) wrap="$OPTARG" ;; |