[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 :
Wed, 12 Jun 2013 08:36:16 -0400
User-agent :
Mutt/1.4.2.3i
On Wed, Jun 12, 2013 at 11:13:43AM +0300, Pierre Gaston wrote:
> {,} just expands to two unquoted nothing and results in nothing
> if you quote the nothing you get 2 empty strings:
>
> $ set ''{,};echo $#
> 2
{,} and ''{,} are not the same.
imadev:~$ printf '<%s> ' {,}; echo
<>
imadev:~$ printf '<%s> ' ''{,}; echo
<> <>
Also:
imadev:~$ printf '<%s> ' {,,,}; echo
<>
[Help-bash] Brace expansion with empty args , é½‹è—¤æ£æ¨¹ , 2013/06/12
Re: [Help-bash] Brace expansion with empty args , Pierre Gaston , 2013/06/12
Re: [Help-bash] Brace expansion with empty args ,
Greg Wooledge <=
Re: [Help-bash] Brace expansion with empty args , Masaki Saito , 2013/06/14
Re: [Help-bash] Brace expansion with empty args , Roman Rakus , 2013/06/14
Re: [Help-bash] Brace expansion with empty args , Greg Wooledge , 2013/06/14
Re: [Help-bash] Brace expansion with empty args , Pierre Gaston , 2013/06/14
Re: [Help-bash] Brace expansion with empty args , Greg Wooledge , 2013/06/14
Re: [Help-bash] Brace expansion with empty args , Roman Rakus , 2013/06/14
Re: [Help-bash] Brace expansion with empty args , Greg Wooledge , 2013/06/14
Re: [Help-bash] Brace expansion with empty args , Pierre Gaston , 2013/06/14
Re: [Help-bash] Brace expansion with empty args , Chet Ramey , 2013/06/25
Re: [Help-bash] Brace expansion with empty args , Roman Rakus , 2013/06/14