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: Masaki Saito
Subject: Re: [Help-bash] Brace expansion with empty args
Date: Fri, 14 Jun 2013 13:20:47 +0900

Thanks Pierre, Greg.

I had thought that `nothing' is same as null string.
But manual says that preamble and postscript are optional.
So I thought that like bellow.
{,c} is a same format as a{,c} except preamble.
So these generate two strings.
a{,c} generates 'a', 'IFS' and 'ac',
{,c} generates '', 'IFS' and 'c'.
That is incorrect...
What's different about nothing and null string?

Sorry, my name is garbled.
Masaki



reply via email to

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