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: Pierre Gaston
Subject: Re: [Help-bash] Brace expansion with empty args
Date: Fri, 14 Jun 2013 16:02:03 +0300

On Fri, Jun 14, 2013 at 3:54 PM, Greg Wooledge <address@hidden> wrote:
> On Fri, Jun 14, 2013 at 03:51:37PM +0300, Pierre Gaston wrote:
>> From the previous discussions about {} on bug-bash, brace expansion is
>> a textual thing.
>> So I guess it's just that ''{,} result in the text '' '', while {,}
>> results in not text, or perhaps in a whitespace
>
> It produces a single null string:
>
> imadev:~$ printf '<%s> ' {,} ; echo
> <>

well one or several whitespace produce the same results
printf '<%s>'                                  ;echo



reply via email to

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