This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Don't use Bash-specific ${parameter/pattern/string} expansion


On Sunday 08 September 2013 16:18:53 Patrick 'P. J.' McDermott wrote:
>  	   case $$call in \
>  	   *@@*) \
> -	     ver=$${call##*@}; call=$${call%%@*}; ver=$${ver//./_}; \
> +	     ver=$${call##*@}; call=$${call%%@*}; \
> +	     ver=`echo $ver | sed 's/\./_/g'`; \

you need to quote "$ver"
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]