Bad file descriptor with pipeline

2016-04-11 Thread Hédy GIRAUDEAU
Hi, If i use : `strace bash -c "echo qsd | cat" 2>&1 | grep "close"` I get systematically : close(3)= 0 close(3)= 0 close(3)= 0 close(3)= 0 close(3)

Pipeline close(4) Bad file descriptor

2016-04-11 Thread Ache
Hi, If i use : `strace bash -c "echo qsd | cat" 2>&1 | grep "close"` I get systematically : close(3)= 0 close(3)= 0 close(3)= 0 close(3)= 0 close(3)

Re: Bad file descriptor with pipeline

2016-04-11 Thread Chet Ramey
On 4/11/16 5:39 PM, Hédy GIRAUDEAU wrote: > Hi, > If i use : `strace bash -c "echo qsd | cat" 2>&1 | grep "close"` > I get systematically : > > close(3)= 0 > close(3)= 0 > close(3)= 0 > close(3)

Re: Bad file descriptor with pipeline

2016-04-11 Thread Hédy GIRAUDEAU
Le 12/04/2016 04:00, Chet Ramey a écrit : > On 4/11/16 5:39 PM, Hédy GIRAUDEAU wrote: >> Hi, >> If i use : `strace bash -c "echo qsd | cat" 2>&1 | grep "close"` >> I get systematically : >> >> close(3)= 0 >> close(3)= 0 >> close(3)

Filename completion broken for env variables

2016-04-11 Thread Bruce Hill
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale