On Mon, Dec 12, 2011 at 09:05:09AM -0500, Chet Ramey wrote:
> On 12/12/11 7:54 AM, Timothy Madden wrote:
> > [root@appserver2 ~]# mkfifo /tmp/myfifo
> > [root@appserver2 ~]# echo ls -l >/tmp/myfifo &
> > [2] 23771
> > [root@appserver2 ~]# source /tmp/myfifo        # no `ls´ output here...

> This is a less-than-ideal example, since it attempts to execute the
> `ls -l' output as commands.  Replacing the `ls -l' with `echo hello world'
> results in `hello world' on bash-4.0, bash-4.1, and bash-4.2 on Mac OS X
> and RHEL 5.

I think you overlooked the "echo" in his second command.

Running Timothy's commands works for me (I get the directory listing)
in bash 4.2.20 and 3.2.48 and 2.05b, on HP-UX 10.20.

Reply via email to