bug-hurd
[Top][All Lists]
Advanced

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

Problem on GNU/Hurd systems w.r.t. process substitution


From: Thomas Schwinge
Subject: Problem on GNU/Hurd systems w.r.t. process substitution
Date: Sun, 19 Nov 2006 15:36:50 +0100
User-agent: Mutt/1.5.6+20040907i

Hello!

There seems to be a problem with bash's usage of named pipes on GNU/Hurd
systems.

#v+
thomas@taylor:~ $ diff -u <(echo a) <(echo b)
--- /proc/self/fd/63    2006-11-19 15:32:53.622504951 +0100
+++ /proc/self/fd/62    2006-11-19 15:32:53.614508451 +0100
@@ -1 +1 @@
-a
+b
thomas@taylor:~ $ echo $?
1
thomas@taylor:~ $ echo $BASH_VERSION
3.1.17(1)-release
thomas@taylor:~ $ apt-cache policy bash | grep Inst
  Installed: 3.1-5
thomas@taylor:~ $ uname -a
Linux taylor 2.6.18-1-xen-686 #1 SMP Sat Oct 21 21:58:56 UTC 2006 i686 GNU/Linux
#v-

#v+
thomas@leibniz:~ $ diff -u <(echo a) <(echo b)
thomas@leibniz:~ $ echo $?
0
thomas@leibniz:~ $ echo $BASH_VERSION 
3.1.17(1)-release
thomas@leibniz:~ $ apt-cache policy bash | grep Inst
  Installed: 3.1dfsg-7
thomas@leibniz:~ $ uname -a
GNU leibniz 0.3 GNU-Mach 1.3.99/Hurd-0.3 i686-AT386 GNU
#v-

info Bash
#v+
[...]
3.5.6 Process Substitution
--------------------------

Process substitution is supported on systems that support named pipes
(FIFOs) or the `/dev/fd' method of naming open files.  [...]
#v-

The GNU/Hurd system does support named pipes.  Any idea what is going
wrong here, particularly the fact that it fails silently?  (I didn't
investigate so far.)


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


reply via email to

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