diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-07-26 03:40:30 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-07-26 03:40:30 +0200 |
commit | f8591ed5761d4ff733a10f026d566b65b22a0304 (patch) | |
tree | e8a48058b5c0d63fd856cf71e78cce5b327a03f4 /ponysay | |
parent | 61c38c65f4745d690a3a0b661827684378d793dc (diff) | |
download | ponysay-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-x | ponysay | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" ;; |