Hello

I run into this problem on CentOS 5.7 (Final), that if I try to source a 
FIFO in bash, my command will be silently ignored and nothing from the 
FIFO is interpreted. Here is a simple example:
[root@appserver2 ~]# mkfifo /tmp/myfifo
[root@appserver2 ~]# echo ls -l >/tmp/myfifo &
[2] 23771
[root@appserver2 ~]# source /tmp/myfifo        # no `ls“ output here...
[root@appserver2 ~]# rm /tmp/myfifo
rm: remove fifo `/tmp/myfifo'? y
[2]+  Exit 1                  echo ls -l > /tmp/myfifo
[root@appserver2 ~]#


CentOS 5.7 comes with 'GNU bash, version 3.2.25(1)-release 
(x86_64-redhat-linux-gnu)'. I can see from posting in the bash group 
that the same bash 3.2 (and older) on a different distribution can 
source the FIFO as expected:
    nntp://news.gmane.org/gmane.comp.shells.bash.bugs/17652
    http://thread.gmane.org/gmane.comp.shells.bash.bugs/17649/focus=17652

Can this be a CentOS/packaging issue ?

Thank you,
Timothy Madden

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to