> 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 "<
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?
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
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