bug-bash@gnu.org

2013-12-12 Thread Martin Kealey
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-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE

Re: bash leaks sh-np-NNN files and pipes in /tmp/ when command substitution is used

2013-12-12 Thread Yuri
On 12/12/2013 05:02, Greg Wooledge wrote: If bash is using named pipes of the form /var/tmp/sh-np-* or /tmp/sh-np-* then the compile-time options or detection must have failed to find a usable/dev/fd/ subsystem. (My HP-UX workstation is littered with sh-np-* FIFOs in BOTH /tmp and /var/tmp.)

Re: read builtin is not honoring -t argument

2013-12-12 Thread Todd B. Stein
I'm very sorry; I believe I may have wasted your time. After further testing, I can only reproduce this using xfce4-terminal (0.6.2) in Fedora 19. Read works fine in gnome-terminal and on tty's, so I hereby respectfully retract my report. Thank you for the work you guys do! Just to show I'm not (c

Re: read builtin is not honoring -t argument

2013-12-12 Thread Geir Hauge
2013/12/11 > > Description: > read builtin is not honoring -t argument > > Repeat-By: > Just run 'read -t1' and note that the behavior seems not different > from simply running 'read' without arguments. > What does ''type read'' say? perhaps you have a function or alias by that na

Re: read builtin is not honoring -t argument

2013-12-12 Thread Chet Ramey
On 12/11/13 2:28 AM, toddbst...@gmail.com wrote: > Bash Version: 4.2 > Patch Level: 45 > Release Status: release > > Description: > read builtin is not honoring -t argument > > Repeat-By: > Just run 'read -t1' and note that the behavior seems not different from > simply running 'rea

Re: bash leaks sh-np-NNN files and pipes in /tmp/ when command substitution is used

2013-12-12 Thread Chet Ramey
On 12/12/13 8:02 AM, Greg Wooledge wrote: > On Thu, Dec 12, 2013 at 07:53:32AM +0100, Piotr Grzybowski wrote: >> Yuri: I have verified that under linux 3.2.0, bash-4.2.25, nothing of >> the sort takes place. tee gets /dev/fd/${somefd}, why it is not >> supported in bsd kernel i have no idea, but I

Re: read builtin is not honoring -t argument

2013-12-12 Thread Greg Wooledge
On Tue, Dec 10, 2013 at 11:28:31PM -0800, toddbst...@gmail.com wrote: > Machine Type: x86_64-redhat-linux-gnu > > Bash Version: 4.2 > Patch Level: 45 > Just run 'read -t1' and note that the behavior seems not different from > simply running 'read' without arguments. I can't duplicate

read builtin is not honoring -t argument

2013-12-12 Thread toddbstein
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'

Re: bash leaks sh-np-NNN files and pipes in /tmp/ when command substitution is used

2013-12-12 Thread Greg Wooledge
On Thu, Dec 12, 2013 at 07:53:32AM +0100, Piotr Grzybowski wrote: > Yuri: I have verified that under linux 3.2.0, bash-4.2.25, nothing of > the sort takes place. tee gets /dev/fd/${somefd}, why it is not > supported in bsd kernel i have no idea, but I thought it was. On OpenBSD, at least, this is

Re: bash leaks sh-np-NNN files and pipes in /tmp/ when command substitution is used

2013-12-12 Thread Piotr Grzybowski
well, no argue there, I just wanted to point out that where /dev/fd/ is available this issue is noexistent. if i find the bsd system i have access to, i can investigate further. cheers, pg On Thu, Dec 12, 2013 at 10:41 AM, Yuri wrote: > On 12/11/2013 22:53, Piotr Grzybowski wrote: > > Yuri:

Re: bash leaks sh-np-NNN files and pipes in /tmp/ when command substitution is used

2013-12-12 Thread Yuri
On 12/11/2013 22:53, Piotr Grzybowski wrote: Yuri: I have verified that under linux 3.2.0, bash-4.2.25, nothing of the sort takes place. tee gets/dev/fd/${somefd}, why it is not supported in bsd kernel i have no idea, but I thought it was. I've even built mplayer and run your script (btw. proba