Re: RFE: readarray "-0" (or reciprocal of printf "%s\x00" "${AR[@]}" )

2013-08-23 Thread Eduardo A . Bustamante López
> However, has any thought (or is there a way already?) > to read in a bunch of null terminated names from > the output of such a construct? Well, there's not a construct to build an array like you mention, but you can use read and a while loop like this: while IFS= read -rd '' elem; do echo "<

RFE: readarray "-0" (or reciprocal of printf "%s\x00" "${AR[@]}" )

2013-08-23 Thread Linda Walsh
I was doing some file tree tests, and just noticed, I can print out file names with nulls at the end of them from an array with printf (neat!) However, has any thought (or is there a way already?) to read in a bunch of null terminated names from the output of such a construct?

Bogus SIGPIPE bug

2013-08-23 Thread Thomas Hood
I have isolated a bug in bash 3.2 which doesn't appear in later versions of bash I have tried; now I am trying to figure out when where the bug got fixed so I can make an upgrade plan. I am using SLES 11 SP2. To reproduce the issue do the following. * Block SIGPIPE in the current process. * From t

Re: Bug in bash(1)

2013-08-23 Thread Chet Ramey
On 8/21/13 1:21 PM, Thomas Hood wrote: > There appears to be a redundancy in the description of the "disown" > builtin in bash(1). Version is 4.2. Thanks for the report and patch. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - H