Subject: Re: /bin/sh messes up quoting when ${var:+$var} substitution includes quotes
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
Date: 06/23/2004 21:13:49
On Mon, Jun 21, 2004 at 06:34:54PM -0400, Greg A. Woods wrote:
> I've encountered a bug in how /bin/sh handles parameter quoting when the
> text in a "${FOO:+$BAR}" variable substitution includes quotes in $BAR.

Can you give a 1 line example, and what you expect the output to be?

	David

-- 
David Laight: david@l8s.co.uk