Re: why are \d and \D not implemented but don't throw errors in regex?

2013-12-11 Thread Linda Walsh
On 12/10/2013 12:44 PM, Eric Blake wrote: On 12/10/2013 01:28 PM, Linda Walsh wrote: But before bash takes on another library, it would be nicer to FIRST get libc patched to provide pcre regex by default. In other words, I think you are better off lobbying with the POSIX folks to standardize

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

2013-12-11 Thread Yuri
On 12/11/2013 01:04, Piotr Grzybowski wrote: hullo, maybe post exact scripts that generate those files, together with some description of the environment, arent some of those scripts run from su? Simple command run under unprivileged user creates such files: tee >(grep "XXX" | do-filter >>

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

2013-12-11 Thread Ryan Cunningham
Also, as a correction to your original message, a FIFO _is_ a file, just not a regular file. Sent from my iPad > On Dec 11, 2013, at 1:13 AM, Yuri wrote: > >> On 12/11/2013 01:04, Piotr Grzybowski wrote: >> hullo, >> >> maybe post exact scripts that generate those files, together with >> som

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

2013-12-11 Thread Ryan Cunningham
First off, remind Piotr that he forgot to carbon-copy his e-mail message to this list (bug-bash@gnu.org); and tell him to do so. Second, you should post the definition of 'do-filter', if 'do-filter' is not a binary (also post the definitions of other custom functions 'do-filter' calls; but do n

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

2013-12-11 Thread Yuri
On 12/11/2013 07:20, Ryan Cunningham wrote: Second, you should post the definition of 'do-filter', if 'do-filter' is not a binary (also post the definitions of other custom functions 'do-filter' calls; but do not post the complete script). do-filter is some shell script running some other co

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

2013-12-11 Thread Yuri
On 12/10/2013 23:29, Yuri wrote: Some of my scripts use command substitution, and now I see that there are lots of files like these in /tmp: prw--- 1 yuri wheel 0 Dec 10 13:32 sh-np-1386738492 -rw-r--r-- 1 yuri wheel3278909 Dec 10 14:54 sh-np-1386721176 Besides the obvi

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

2013-12-11 Thread Piotr Grzybowski
helo! before Ryan kills me :) I am replying to all, no matter what meaningless rubbish I post. tell Ryan I got his message :) 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 id