From f8591ed5761d4ff733a10f026d566b65b22a0304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Thu, 26 Jul 2012 03:40:30 +0200 Subject: [PATCH] spaces in -f argument are not longer removed, it causes problem with file names including spaces --- ponysay | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ponysay b/ponysay index b5d823c9..52439c4a 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" ;;