Hello!

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

#v+
[EMAIL PROTECTED]:~ $ 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
[EMAIL PROTECTED]:~ $ echo $?
1
[EMAIL PROTECTED]:~ $ echo $BASH_VERSION
3.1.17(1)-release
[EMAIL PROTECTED]:~ $ apt-cache policy bash | grep Inst
  Installed: 3.1-5
[EMAIL PROTECTED]:~ $ 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+
[EMAIL PROTECTED]:~ $ diff -u <(echo a) <(echo b)
[EMAIL PROTECTED]:~ $ echo $?
0
[EMAIL PROTECTED]:~ $ echo $BASH_VERSION 
3.1.17(1)-release
[EMAIL PROTECTED]:~ $ apt-cache policy bash | grep Inst
  Installed: 3.1dfsg-7
[EMAIL PROTECTED]:~ $ 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

_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to