Re: [PATCH 05/33] bash-completion: prefer bash 3.x 'here string' syntax

Sami Kerola
2013-04-26T12:29:26Z

On 26 April 2013 12:38, Karel Zak <kzak@redhat.com> wrote:
> On Sat, Apr 13, 2013 at 05:59:13PM -0400, Dave Reisner wrote:
>> On Sat, Apr 13, 2013 at 08:54:33PM +0100, Sami Kerola wrote:
>> > The '< <' syntax is bash 2.x trick, and <<< does the same job when bash
>> > 3.x is in use. For some unknown reason my bash 4.2.45(2)-release became
>> > allergic to old syntax today(?).
>>
>> I don't follow this. The syntax is <(commands), which is a process
>> substitution. It creates a temporary file descriptor which can be
>> redirected via <. It still very much works, and I don't expect this to
>> break any time soon. It's likely more memory efficient since there's no
>> need to expand the output in place -- it can just be read off of the
>> file descriptor.
>>
>> I think you should figure out what's wrong with your shell instead of
>> doing this.
>
> Sami?

Hi Dave & Karel,

Sorry, I have forgot to have look of this. It is best to drop the
patch for now, as I am not sure why old syntax did not work for me
expected way.

--
Sami Kerola