|
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
[Prev in Thread] | Current Thread | [Next in Thread] |