From: Herbert Xu Date: Tue, 19 Dec 2006 00:35:57 GMT Subject: Re: [PATCH] git-parse-remote: fix ambiguous shell bug in expand_refs_wildcard Message-ID: <20061219003557.GA17799@gondor.apana.org.au> In-Reply-To: <20061218224505.GB13034@coredump.intra.peff.net> On Mon, Dec 18, 2006 at 05:45:05PM -0500, Jeff King wrote: > > but doing it inside an interpolated string doesn't: > > $ foo=bar} > $ echo "${foo%'}'}" > bar}'} Yes it's a bug in dash. Both quote marks (" and ') are represented by the same char internally before processing which is where the mix-up occurs. I'll work on a fix. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/