aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-07-26 03:40:30 +0200
committerMattias Andrée <maandree@operamail.com>2012-07-26 03:40:30 +0200
commitf8591ed5761d4ff733a10f026d566b65b22a0304 (patch)
treee8a48058b5c0d63fd856cf71e78cce5b327a03f4 /ponysay
parent61c38c65f4745d690a3a0b661827684378d793dc (diff)
downloadponysay-f8591ed5761d4ff733a10f026d566b65b22a0304.tar.gz
ponysay-f8591ed5761d4ff733a10f026d566b65b22a0304.tar.bz2
ponysay-f8591ed5761d4ff733a10f026d566b65b22a0304.zip
spaces in -f argument are not longer removed, it causes problem with file names including spaces
Diffstat (limited to 'ponysay')
-rwxr-xr-xponysay2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponysay b/ponysay
index b5d823c..52439c4 100755
--- a/ponysay
+++ b/ponysay
@@ -224,7 +224,7 @@ while getopts $opts OPT; do
case ${OPT} in
v) version; exit ;;
h) usage; exit ;;
- f) ponies+=($(echo $OPTARG | sed -e 's/ //g')) ;;
+ f) ponies+=( $OPTARG ) ;;
l) list; exit ;;
L) linklist; exit ;;
W) wrap="$OPTARG" ;;