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

Karel Zak
2013-04-26T11:38:59Z

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?

Karel

--
Karel Zak <kzak@redhat.com>