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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26 April 2013 12:38, Karel Zak <kzak@xxxxxxxxxx> 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
   http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux