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 true. I haven't tried FreeBSD. 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.)