bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ${var:+foo "$empty"}


From: Stephane Chazelas
Subject: Re: ${var:+foo "$empty"}
Date: Sun, 23 Jan 2005 15:19:13 +0000
User-agent: Mutt/1.5.6i

On Sun, Jan 23, 2005 at 02:46:09PM +0000, Stephane Chazelas wrote:
> Hi,
> 
> $ bash -c 'printf "<%s>\n" ${$:+a "$a"}'
> <a>
> $ ksh -c 'printf "<%s>\n" ${$:+a "$a"}'
> <a>
> <>
[...]

That was pdksh, though. ksh93 behaves the same way as bash.

-- 
St├ęphane





reply via email to

[Prev in Thread] Current Thread [Next in Thread]