Only the manual mentions that "the format is reused as necessary to
consume all of the arguments"; it would be nice if this was in 'help
printf' too.
/Ulf
On Sun, Dec 2, 2012 at 5:42 PM, Ulf Magnusson wrote:
> On Sun, Dec 2, 2012 at 5:40 PM, Ulf Magnusson wrote:
>> On Sun, Dec 2, 2012 at 4:58 PM, Roman Rakus wrote:
>>> On 12/01/2012 04:41 PM, Ulf Magnusson wrote:
>>>>
>>>> GNU bash, version 4.2.24(1)-rele
On Sun, Dec 2, 2012 at 5:40 PM, Ulf Magnusson wrote:
> On Sun, Dec 2, 2012 at 4:58 PM, Roman Rakus wrote:
>> On 12/01/2012 04:41 PM, Ulf Magnusson wrote:
>>>
>>> GNU bash, version 4.2.24(1)-release (i686-pc-linux-gnu)
>>>
>>> Take the following exa
On Sun, Dec 2, 2012 at 4:58 PM, Roman Rakus wrote:
> On 12/01/2012 04:41 PM, Ulf Magnusson wrote:
>>
>> GNU bash, version 4.2.24(1)-release (i686-pc-linux-gnu)
>>
>> Take the following example, assumed to be run in an empty directory:
>>
>> $ mkdir a
>
GNU bash, version 4.2.24(1)-release (i686-pc-linux-gnu)
Take the following example, assumed to be run in an empty directory:
$ mkdir a
$ echo **
a
$ echo **/**
a a
$ echo **/**/**
a a a
I would expect the result to be just 'a' in all cases.
You also get back a null filename, as shown by
$ fo