The strace for it is interesting. It looks like wdiff does a stat on the files and the result returns is 0.
strace -efile wdiff -1 <(echo -e "line1\nline2") <(echo -e "line1\nline3") execve("/usr/bin/wdiff", ["wdiff", "-1", "/dev/fd/63", "/dev/fd/62"], [/* 44 vars */]) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libncurses.so.5", O_RDONLY) = 3 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3 stat64("/dev/fd/63", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 open("/dev/fd/63", O_RDONLY) = 3 open("/tmp/wdiff.bF8FQN", O_RDWR|O_CREAT|O_EXCL, 0600) = 4 stat64("/dev/fd/62", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 open("/dev/fd/62", O_RDONLY) = 4 open("/tmp/wdiff.HqUIDm", O_RDWR|O_CREAT|O_EXCL, 0600) = 5 --- SIGCHLD (Child exited) @ 0 (0) --- unlink("/tmp/wdiff.bF8FQN") = 0 unlink("/tmp/wdiff.HqUIDm") = 0 {++}Process 20780 detached I suspect that's causing it to think the files are empty and not doing anything. diff however does work for named pipes, $ diff -u <(echo -e "line1\nline2") <(echo -e "line1\nline3") --- /dev/fd/63 2009-03-30 12:17:43.235246354 +0100 +++ /dev/fd/62 2009-03-30 12:17:43.235246354 +0100 @@ -1,2 +1,2 @@ line1 -line2 +line3 -- wdiff does not work correctly with <() redirection https://bugs.launchpad.net/bugs/160912 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs