[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Brace expansion with empty args
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] Brace expansion with empty args |
Date: |
Tue, 25 Jun 2013 10:24:34 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
On 6/14/13 12:20 AM, Masaki Saito wrote:
> Thanks Pierre, Greg.
>
> I had thought that `nothing' is same as null string.
Nothing (no word at all) is not the same as a 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.
No. This generates one word.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/
- Re: [Help-bash] Brace expansion with empty args, (continued)
- 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
- 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,
Chet Ramey <=
Re: [Help-bash] Brace expansion with empty args, Masaki Saito, 2013/06/14