bug-bash
[Top][All Lists]
Advanced

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

Re: FIFO silently ignored on . ( `source´ ) command


From: Timothy Madden
Subject: Re: FIFO silently ignored on . ( `source´ ) command
Date: Mon, 12 Dec 2011 16:24:59 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 12.12.2011 16:05, Chet Ramey wrote:
On 12/12/11 7:54 AM, Timothy Madden wrote:

I have
     GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) on an
up-to-date CentOS 5.7 (Final) x64,
and
     GNU bash, version 4.1.10(4)-release (i686-pc-cygwin) on Windows 7 x64 SP1.

In both OSes I noted that `source´ built-in does not work on a FIFO. On
CentOS the command is just ignored, and on cygwin it blocks indefinitely (I
guess).  Ok, cygwin FIFOs may not be a good test case, but  I think CentOS
ones are.

This was changed about five years ago, before bash-4.0 was released.

Oh, sorry.

My CentOS 5 is still on bash-3.2.25. I must be quite unlucky, since on 3.2.48 it works.

CentOS 6 promises to do better, but unfortunately it is not compatible with CentOS 5.

Indeed, trying my example with different distributions (Ubuntu, Fedora, CentOS 6), with newer versions of bash shows that `source /FIFO/´ now works.

Thank you,
Timothy Madden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]