help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Brace expansion with empty args


From: Greg Wooledge
Subject: Re: [Help-bash] Brace expansion with empty args
Date: Fri, 14 Jun 2013 09:05:37 -0400
User-agent: Mutt/1.4.2.3i

On Fri, Jun 14, 2013 at 03:00:36PM +0200, Roman Rakus wrote:
> On 06/14/13 14:54, Greg Wooledge wrote:
> >It produces a single null string:
> >
> >imadev:~$ printf '<%s> ' {,} ; echo
> ><>
> >
> Which is erased:
> $ printf '<%s> ' {,} after; echo
> <after>

Ah, you're correct here.  It was printf that introduced that null string,
not brace expansion.

imadev:~$ printf '<%s> '; echo
<> 



reply via email to

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