[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Piping sed stalls on OpenSolaris 2010.03
From: |
Paul Eggert |
Subject: |
Re: Piping sed stalls on OpenSolaris 2010.03 |
Date: |
Fri, 13 Apr 2012 07:59:26 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 |
On 04/13/2012 03:32 AM, Mats Erik Andersson wrote:
> { echo "A comment";
> sed -e 's,re,txt,g' < file |
> sed -e 's,re2,txt2,g' |
> sed -e 's,re3,txt3,g'; } > outfile
>
> All other modules implement pipes using one or two levels, not three.
> This three level construct stalls on OpenSolaris 2010.03, presumably
> waiting for input
This sounds like a serious bug with OpenSolaris.
But perhaps it is a bug in the script. Can you
reproduce the problem by invoking
make
[^C]
truss -f -o truss.log make
[^C]
and then look at truss.log and see which system calls are
going wrong and why? If it's puzzling please feel free
to compress truss.log and send it along.